What's the use of input in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
21st Mar 2021, 5:16 AM
Sujith S
Sujith S - avatar
5 Answers
+ 2
Input in any language is used to take certain values from the user. For example, you are creating a program which calculates the temperature in Fahrenheit if the temperature in Celcius is given. Now how will you 'take' the temperature in Celcius? Input allows you to do that. And as Jan Markus said, if you are posting a question just for the sake of 'posting a question' or earning badges, then don't. Also make sure to use the correct tags and not include unnecessary links in the question.
21st Mar 2021, 5:52 AM
XXX
XXX - avatar
0
I'm a newbie and I needed help
21st Mar 2021, 5:42 AM
Sujith S
Sujith S - avatar
0
Ok thanks for your concern
21st Mar 2021, 7:01 AM
Sujith S
Sujith S - avatar
0
Sujith S Btw. you already started the Python course. Just go on a little, input() is explained in an early lesson...
21st Mar 2021, 9:54 AM
Crash
Crash - avatar
0
Thank you so much
21st Mar 2021, 10:13 AM
Sujith S
Sujith S - avatar