I am on the lesson 11 and it keeps on telling me that i need to print Ping?


11. ptinting variables

oops try again
try printing "Ping!"?

the_machine_goes = "Ping!"
print "the_machine_goes"


the_machine_goes is a variable name not a string expression
so remove" "

print "the_machine_goes"


and then replace it with "Ping!" ?? because it tells me that i havent given the variable and i havent changed the variable!


can you please show me your update code?


the_machine_goes = "Ping!"
print "ping!"
and this time it tells me to print the variable not the litteral!


i didnt say that.

Declare a variable called the_machine_goes and assign it the string value "Ping!" on line 5

so i would do like

the_machine_goes ="Ping!"

and second Instructions:
Go ahead and print the_machine_goes in line 6.

so here just print that

print the_machine_goes

the_machine_goes is a varibale name so i dont need " "

whenever you want to assign a string value then you need" " like

but the_machine_goes is a varibale name so you dont need that

just see the lesson again here


Thank you very much for your help!!! i really appreciated it!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.