Problem 11, Printing Variables


did you create a variable called the_machine_goes?

what am I doing wrong?

the_machine_goes = "Ping!"
Print "the_machine_goes"


Well, you're printing out a string, "the_machine_goes" but really, you want to print "Ping!". Therefore, remove the quotation marks around "the_machine_goes" in your print statement and you're good to go.


I removed the quotation marks, it looks like this now

"""Assign the string "Ping!" to
the variable the_machine_goes on
line 5, then print it out on line 6!"""

the_machine_goes = "Ping!"
Print the_machine_goes

but the error remains the same.


I got it, P in Print was supposed to be small p . But why does it matter?


It's Python's syntax.


I am having a similar issue with variables

"the_machine_goes_on" = ping
print the_machine_goes_on

I have tried a number of different things nothing seems to be working.


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