New course! Every coder should learn Generative AI!
Try a free lesson+ 2
In Python 2.x raw_input was used to return a string from the console because input() would take in arguments and try to evaluate them as python statements.
In Python 3.x input() does exactly what raw_input() do in Python 2.x. So in Python 3.x there is no raw_input.