0

What is the use of input function?How do we use it?

Anyone

21st Jul 2020, 1:39 PM
Yasir Farooq
Yasir Farooq - avatar
4 Respostas
+ 4
Yasir Farooq Already elaborated much. Refresh your page if you can't see my answer.
21st Jul 2020, 1:47 PM
Arctic Fox
Arctic Fox - avatar
+ 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.
21st Jul 2020, 1:45 PM
Arctic Fox
Arctic Fox - avatar
21st Jul 2020, 1:45 PM
Yasir Farooq
Yasir Farooq - avatar
0
Can you elaborate
21st Jul 2020, 1:46 PM
Yasir Farooq
Yasir Farooq - avatar