I don't understand input and output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't understand input and output

23rd Mar 2020, 5:29 AM
Neeraj Kumar Nangireddy
12 Answers
+ 8
Input means the information which is given to a program. Output means the information which comes from a program
23rd Mar 2020, 5:54 AM
Taranjeet
Taranjeet - avatar
+ 2
It could help you if you will specify the programming language, because the syntax varies according to the language
23rd Mar 2020, 5:31 AM
Cmurio
Cmurio - avatar
+ 2
The code is what is used to process the input and give output. For example, a program is made to add two numbers. You give input as 2 and 4. The code will add the numbers and give output as 6.
23rd Mar 2020, 5:57 AM
Taranjeet
Taranjeet - avatar
+ 2
It is simple program in which one can enter something and the program will give same output. But it is still telling the computer that it needs an input and gives an output. Code is everything which is used to input, output and process
23rd Mar 2020, 6:06 AM
Taranjeet
Taranjeet - avatar
+ 2
In detail please
23rd Mar 2020, 6:13 AM
Neeraj Kumar Nangireddy
+ 1
s = input("Enter something please: ") print(s)
23rd Mar 2020, 6:01 AM
Neeraj Kumar Nangireddy
0
Then what about the code
23rd Mar 2020, 5:55 AM
Neeraj Kumar Nangireddy
0
Kk some Bette But s = input("Enter something please: ") print(s) Can u explain this
23rd Mar 2020, 6:19 AM
Neeraj Kumar Nangireddy
0
Input is the information that you introduce to the program and output is the information that the program shows you after it has been run.
25th Mar 2020, 1:06 AM
Sergio Valdes
- 2
23rd Mar 2020, 5:32 AM
Neeraj Kumar Nangireddy
- 2
What's this
23rd Mar 2020, 5:58 AM
Neeraj Kumar Nangireddy