0

What the difference between input and print?

5th Feb 2017, 3:31 PM
Š”ŠµŠ½Šøс Š›ŠøŠ¼
Š”ŠµŠ½Šøс Š›ŠøŠ¼ - avatar
2 Answers
+ 1
input takes input from user, print is oppisit, gives input to user, alike echo in PHP or cout in C++
5th Feb 2017, 4:19 PM
Andre van Rensburg
Andre van Rensburg - avatar
0
You can also use input to print what you want the user to input. For example: userName = input(ā€œPlease enter your name: ā€œ) print(ā€œHello, ā€ + userName)
23rd Jul 2017, 1:42 AM
Brian C
Brian C - avatar