Conditional Statement Syntax and Print

#I have recently come back to codecademy and started back up where I left off. This lesson or all of the class should be updated or make note that there is a difference in Python 2.7 and Python 3.0. In order to use the Print syntax you need to use Print() just a little something to put out there as I got a little confused and answered ‘N’ due to that little change.
response = ‘Y’

answer = “Left”
if answer == “Left”:
print “This is the Verbal Abuse Room, you heap of parrot droppings!”

Will the above print statement print to the console?

Set response to ‘Y’ if you think so, and ‘N’ if you think not.

if you read the blog you will see that codecademy will upgrade to python3

1 Like

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