0
What is the use of input function?How do we use it?
Anyone
4 Respostas
+ 4
Yasir Farooq
Already elaborated much.
Refresh your page if you can't see my answer.
+ 2
Input is always given by user.
It allows user to enter as per the program.
For example:
s=input("Please enter something" )
print(s)
Suppose I wrote "Hello world" in the input then, I'll get back the same text as output for this program.
Try it yourself in the code playground, you'll understand much better.
0
Can you elaborate