0
Help with this code
name = raw_imput("what is your name?") age = raw_imput("what is your name?") quest = raw_imput("what is your quest?") colour = raw_imput("what is your favourite colour?") print "Ah, so your name is '%s', your quest is '%s', " \ "and your favourite color is %s." % (name, quest, color)
3 Answers
+ 2
Python 3?
Syntax errors:
Drop raw_
change imput to input
use parens for print
drop the " before and after the continuation character (\) or just make it all one string (easier)
choose 1: American or Queen's English spelling of colour/color, not both
Logical errors:
Wrong prompt for age
age isn't used / apparently doesn't matter.
+ 2
You posted another question with tags [loops] [height] [python3], corrected the age line and got similar responses. I'll bounce an update over there.
0
don't understand



