0

Please i don't understand how the printing works?

I was instructed to type print hi i tried but to no avail

12th Sep 2019, 6:34 PM
Morkly
Morkly - avatar
2 odpowiedzi
+ 1
print ("hi") or print ('hi') It should work
12th Sep 2019, 6:41 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
+ 1
Ignore >>> in playground. Valid examples: print("Hello world!") print('Hello world!") Was the problem on one of these?: Invalid examples: >>>print("Hello world!") #Error because >>> in beginning of line. Print("Hello world!") #Error because Print and print isn't the same. PRINT("Hello world!") #Error because PRINT and print isn't the same. pritn("Hello world!") #Error because pritn and print isn't the same. print("Hello world!') #Error because used pair of string quotes doesn't match. print("Hello world!") #Error because 2 spaces in the beginning of line.
12th Sep 2019, 8:46 PM
Seb TheS
Seb TheS - avatar