0
What is input?
It is very difficult to learn my English is weak that's why.please tell me in easiest way
8 Answers
+ 5
Karan Upadhyay ,
here are 2 short tutorials about input in python that can be find in the community section:
https://www.sololearn.com/learn/Python/2426/?ref=app
https://www.sololearn.com/learn/Python/4434/?ref=app
+ 5
Karan Upadhyay
x = input() is a string input like for words or sentences
x = int(input()) is for numbers like 1 2 3 4 5
+ 2
Input function allows the user to take input as a string in python.
+ 2
We can use input() inbuilt function to take input in python. By default it only take string input like words and sentences. To input different data types we use different functions like for int we use int(input()), for float we use float(input()) and so on.
+ 1
Visit here https://www.codeinhindi.online
0
I can't understand please can you send me a video that can I understand