11. Printing Variables



Oops, try again. Did you remember to print out "Ping!"?

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


The the_machine_goes was assigned the string Ping!. All you need do is print the_machine_goes

the_machine_goes = "Ping!"
print the_machine_goes


It doesnt seem to work :confused: It might be a glitch


Uhmm... You're kidding me? :astonished:

Please refresh console and try. If same, please post you new code.


Could you please copy and paste your code? If your code is completely right then there are two possibilities; one, you need to refresh your browser by pressing command + r; two, it's a bug and needs to be reported.


"""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
This code isn't working. what's so wrong with it


p in ping! should be capitalized.

the_machine_goes = "Ping!"


Thanks factoradic brother


You're very welcome :slight_smile:


Yes I believe there's a bug in the programming itself.


Not really...just because you can not see the mistake in your code does not mean there is a bug. :slight_smile: