Taking User Input | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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