PygLatin Ahoy!


hey there i dont know how to do the second exercise of PygLatin so i hope you dont mind to helping me

user_response=input("Hello Whats your name: ")

Hello Whats your name: Fran
Traceback (most recent call last):
File "python", line 1, in
File "", line 1, in
NameError: name 'Fran' is not defined

Replace this line with your code.


codecademy runs python 2.7

so you have to use

raw_input instead of input

also you can print without ( )

print hi


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