+ 3
I dont get the difference between print and input functions
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.
+ 4
print just shows what you type it to show, input does more as it requests for user input
+ 4
print function represents the text and input function takes the orders
0
print function prints what you want to show in the screen input function prompts user for an input
0
print fonction prints the result of the code input takes the user input to dmanipulat it