0
Guys can someone please help me with a detailed explanation of input function. I don't really get it
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 ()
+ 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.
0
Python 3 to be exact
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".
0
Oh okay
Got it now
Thanks guys
- 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