0
raw_input
i dont understad what is raw_input
4 Respostas
+ 2
raw_input is a function to read all input from user as string even if a number given
Input will try to cast your input to the proper type. Given an integer it will cast this value as a number, for others to string
+ 2
run but stop when find input instruction
+ 1
It has been renamed input() in python 3.x. input() is a function to get input from the user. You can put a string as parameter to print a message before waiting for the input.
age = input("Please enter your age.")
print("You are " + age + " years old.")
0
so the code wouldnt run without the user's answer?