raw_input ([prompt]) input ([prompt]) # prompt: If the parameter is present, output directly to the screen, no further line
Raw_input returns the string form of the input character, as its literal meaning does, without any transformation operations
Input is essentially implemented using raw_input (), which calls the Eval () function after Raw_input () is called, and is called as follows:
def input (Prompt): return (eval (raw_input (prompt)))
eg. Enter a pure numeric string, return a numeric type, and perform an operation on a valid Python numeric expression, returning the result of the operation ....
PS: In python3.x, the Raw_input () has been removed, instead of input (), which is only renamed, and the usage is the same. So here is the introduction of raw_input () and input () in python2.x, as long as the Raw_input () is used in python3.x.
Python in Raw_input () and input ()