0

Does 'input' convert the inputs(provided values) into string by default in python3 ?

20th Nov 2018, 1:19 PM
partha
partha - avatar
2 Antworten
+ 2
input() returns string by default. https://docs.python.org/3/library/functions.html#input
20th Nov 2018, 2:44 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
thanks Hatsy Rei I was doing a code and found out that 'str' wasn't needed there so I kept wondering why. :-D
20th Nov 2018, 4:06 PM
partha
partha - avatar