0

What is the print? Like how do i know what to write?

31st May 2017, 2:39 AM
Hannah
2 Answers
+ 1
"print" is a function that allows you display something on the screen for the audience to see. print is necessarily since it allows the user to know that their interaction or input is being received. How do you know what to write? well that depends upto you; what do you want the user to see.
31st May 2017, 3:21 AM
Dee freeman
Dee freeman - avatar
0
print is the function that we use in python to output the result. basically it displays the result. ex: print("hello world") output : hello world anything you type inside that parentheses will be displays as the output. it's up to you to decide what to type. ps: don't forget the semi-colon when you type a string
31st May 2017, 4:27 AM
Suhi Kun
Suhi Kun - avatar