0
Hey i need help with my code
name= raw_input("What is your name?") food= raw_input("What's your favourite food?") print "Wow, so your name is %s, and your favourite food is %s." %(name,food)
2 Respuestas
+ 5
name= input("What is your name?")
food= input("What's your favourite food?")
print("Wow, so your name is %s, and your favourite food is %s." %(name,food))
Use input instead of raw_input and put brackets around your print :)
+ 2
You're using Python 2. You should be learning Python 3.