Taking User Input | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Taking User Input

Is it a must we add ( int(input())) why cant we do (input()) Any answers???

13th Sep 2020, 4:21 PM
sadiq lawal
sadiq lawal - avatar
2 ответов
+ 3
Int is for numbers you can input with out the input
13th Sep 2020, 4:48 PM
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active)
🥇👩‍💻 Kintu Michael Evans 🔥🔥( Active) - avatar
+ 2
Do you understand what is int doing? Do some search using Google about the return type of input function as well
13th Sep 2020, 4:25 PM
Abhay
Abhay - avatar