PygLatin Ahoy!


#1



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: ")
hi="hello",user_response
print(hi)

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.


#2

codecademy runs python 2.7

so you have to use

raw_input instead of input

also you can print without ( )

print hi


#3

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