I cannot get the raw_input function to work at all in python. I am teaching PLTW computer science and in an assignment it gives me code for raw_input. I am using Python3 because the code for the rest of the assignment won’t work unless I use it. It keeps telling me that raw_input isn’t defined. Any idea why I can’t get it to work? Here is the code in the assignment.
x = raw_input(“What is your name?:”)
print "Hello " + x
type(raw_input(“type in a name”))
type(raw_input(“type in a number”))