0

Guys can someone please help me with a detailed explanation of input function. I don't really get it

9th Jul 2020, 11:03 AM
Nathaniel Amoah-Bimpong
8 Answers
+ 4
In which language? in python input function input() helps you to take input from the user. for example you wrote a code in python: a=int(input ()) it will allow to user to input numerical value. or if you want the user to input a string value. you can use it as follows: b=input ()
9th Jul 2020, 11:04 AM
Rimjhim
Rimjhim - avatar
+ 3
Its similar to Google search engine which takes an input from user runs through some functions in the background and as a result you get web sites.
9th Jul 2020, 11:45 AM
D_Stark
D_Stark - avatar
9th Jul 2020, 11:05 AM
Nathaniel Amoah-Bimpong
0
Python 3 to be exact
9th Jul 2020, 11:06 AM
Nathaniel Amoah-Bimpong
0
Probably python. It'd help if you'd add the tag sir. input() is quite literally used to take input from a user. SoloLearn treats input very differently than a regular IDE so keep that in mind. An example: name = input('Enter your name > ') # when ran, a prompt will ask for a #name using the text above inside the #input. and whatever you input is now #under the variable named "name".
9th Jul 2020, 11:08 AM
Slick
Slick - avatar
0
Oh okay Got it now Thanks guys
9th Jul 2020, 11:45 AM
Nathaniel Amoah-Bimpong
- 1
Input function generally talks about the entering of a code on a program and the result of the code or display of the code is the output
10th Jul 2020, 10:13 AM
Mike chibale
Mike chibale - avatar