0

Hy. I m beginer at python.I have try this code. But on the last line i try print ('') empty and it is showing nothing. Reply?

print('Hello World') print("work hard") print(" you will succed") print("")

29th Apr 2017, 8:04 AM
Shah Zaib
Shah Zaib - avatar
5 Answers
+ 1
What do you want it to show? The text between the quotes is what gets shown. The last line has nothing between the quotes so it won't show anything.
29th Apr 2017, 8:06 AM
Dima
0
what is string?
29th Apr 2017, 8:08 AM
Shah Zaib
Shah Zaib - avatar
0
yeah i think variable is something that can b changed or replaced!! is this true?
29th Apr 2017, 8:16 AM
Shah Zaib
Shah Zaib - avatar
0
Variables are like a box that can hold things. userName = ("Shah") <<<string userAge = 17 <<<<int bool = True or False
29th Apr 2017, 8:20 AM
James
James - avatar
0
thanks mate..i get your point?
29th Apr 2017, 8:23 AM
Shah Zaib
Shah Zaib - avatar