What is wrong with this code?


#1



The question is: 



Printing Variables


Great! Now that we've printed strings, let's print variables



Instructions
 
01. Declare a variable called the_machine_goes and assign it the string value "Ping!" on line 5.
02. Go ahead and print the_machine_goes in line 6.


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

Error I get is:
Oops, try again. Did you remember to print out "Ping!"?


#2

Never mind, I found the answer. I was literally printing "the_machine_goes"..lol. Remove the quotation marks and it works.


#3

i've remove it , and it still wrong !!!


#4

make P capital bro!!


#5

That's because you are printing "ping!" and not "Ping!"


#6

thank you bro :wink:


#7

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