11. Printing Variables


#1



https://www.codecademy.com/courses/python-beginner-sRXwR/2/2?curriculum_id=4f89dab3d788890003000096

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


#2

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

#3

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


#4

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

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


#5

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.


#7

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


#8

p in ping! should be capitalized.

the_machine_goes = "Ping!"

#9

Thanks factoradic brother


#10

You're very welcome :slight_smile:


#11

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


#12

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


#17