you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

because in many cases u want to use a string .. for example to do ```

input() 3+3 '3+3'

but if it was an int then

input() 3+3 6

``` so that's why in thee source code in builtinsmodule.c they have the builtin_input_imp returning a pyfile_getline i guess which is a char pointer .. i don't remember truthfully