+ 2

print "Hi"

Help me please, i am trying to complete this quest , it tells me to write "Hi" in the blank tomprint "Hi" but it keeps saying "incorrect" Will anyone please answer me what to do.

15th Sep 2017, 8:14 PM
Millions Petrosyan
Millions Petrosyan - avatar
2 Réponses
+ 12
If you are referring to the Code Playground here, it runs on Python 3. Apart from more major differences between Python 2 and 3, the print statement was turned into a method in version 3. Now, you should go with: print("Hi")
15th Sep 2017, 8:26 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Remember to add single( ' ) or double( " ) quotes because Hi is a string
16th Sep 2017, 2:08 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar