What am I doing Wrong!?!?


#1


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

File "python", line 6
Print "the_machine_goes"
^
SyntaxError: invalid syntax


the_machine_goes = "Ping!"
Print "the_machine_goes"


#3

Do you see the error? The little arrow under the first letter in Print, that's where your problem is.


#4

Remember:
Python is CASE-sensitive.


#6

You have to make Print begin with a lowercase p so it reads print not Print


#7

First of all, when you wrote Print, python is case sensitive, so the p needs to be lowercase.
Also, are you trying to print a string? When you tried to print

you are printing a string, not the string value of the variable.


#8

the_machine_goes = "Ping!"
print (the_machine_goes)

You Got This..


#10

thanks, i have managed to get it right now.


#11

remove the quotations because print will literally print the string the machine goes goes if its in quotes but if you just put the machine goes after print it will print Ping!


#12

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