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


#1



11. ptinting variables

oops try again
try printing "Ping!"?


the_machine_goes = "Ping!"
print "the_machine_goes"


#2

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

print "the_machine_goes"


#3

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


#4

can you please show me your update code?


#5

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


#6

i didnt say that.
Instructions:

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
"Ping!"

but the_machine_goes is a varibale name so you dont need that

just see the lesson again here




#7

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


#8

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