+ 3

I dont get the difference between print and input functions

3rd Dec 2015, 1:38 AM
Laith Hussain
Laith Hussain - avatar
5 ответов
+ 11
Print just dispays text for the user. Input let the user interact with the program. You may want to make a program that collects data or maybe data that is introduced by user can affect the program shows after. Like ... a program that is a quizz for smokers. On the age input the program may work different if you tell you are a minor.
2nd Jan 2016, 12:45 PM
Zidaru Adrian
Zidaru Adrian - avatar
+ 4
print just shows what you type it to show, input does more as it requests for user input
4th Dec 2015, 5:53 PM
Daniel Komnick
Daniel Komnick - avatar
+ 4
print function represents the text and input function takes the orders
28th Jun 2016, 6:05 AM
Tanvir
Tanvir - avatar
0
print function prints what you want to show in the screen input function prompts user for an input
3rd Mar 2016, 7:21 PM
Redowan Delowar
Redowan Delowar - avatar
0
print fonction prints the result of the code input takes the user input to dmanipulat it
28th Dec 2016, 8:34 PM
Hicham Berbache
Hicham Berbache - avatar