11 printing variables


#1

hello i get a error my code is

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

its printing ping but i get the error : Oops, try again.
Make sure you print the_machine_goes, and not the literal string "Ping!"

what go's wrong?


#2

Well, error message tells you quite exactly what's wrong.

Here you assigned string (word) Ping! to variable the_machine_goes
Next what you need to do is to print what is in this variable (not again word by itself, as you are trying to do)


#3

ofcourse stuppid of me (good morning my brains stil a sleep)