Using raw_input() in Python 3
initialcommit.com › blog › raw-input-python-3Jan 05, 2022 · Python 3, input () is the only option that exists, but somewhat confusingly, it behaves like the raw_input () from Python 2 - that is - it converts all user input to the string datatype. The main reason why the original functionality of the input () function was removed in Python 3 is for security.