0

What is input?(python)

I want to know what is input. And when to use input. Please answer easily!🙂 Thank you~

10th Nov 2020, 5:32 AM
Saturn
2 Answers
+ 3
Input means to give command to computer then computer gives their answer /output x=input ("what is your name:") - input print (x) - output
10th Nov 2020, 5:34 AM
SùñtÎsh
SùñtÎsh - avatar
+ 7
Input is a command given by user. It allows user to enter as per the program as his wish. For example: a=input("Please enter something" ) print(a) Suppose I wrote "Coool" in the input then, I'll get back the same text as output for this program. U can input values whenever the program needs to work according to its users desires. Play around with the codes in code playground, you'll understand much better.
10th Nov 2020, 5:39 AM
Alphin K Sajan
Alphin K Sajan - avatar