What is the function of print () ? Does it has anything to do with the arrangement of output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the function of print () ? Does it has anything to do with the arrangement of output?

ending code with print ()

13th Aug 2019, 4:20 PM
Sophia Okito
Sophia Okito - avatar
5 Answers
+ 4
"Print() " Is used to output data e.g A=4 B=10 Print(A) =4 Your Output=4. Hope it helped😁
13th Aug 2019, 4:25 PM
Muhammad Awwal Zubairu
Muhammad Awwal Zubairu - avatar
+ 4
yeah i ended my multiplication table with print () and the output was very organise. when i deleted it, the table(output) scattered
13th Aug 2019, 4:32 PM
Sophia Okito
Sophia Okito - avatar
+ 4
Thanks alot that was a great help
13th Aug 2019, 5:27 PM
Sophia Okito
Sophia Okito - avatar
+ 2
I think it is much based on sys.stdout object. sys.stdout is like a file opened in a write mode. You can draw things on the screen using sys.stdout.write("something")
24th Aug 2019, 4:05 PM
Seb TheS
Seb TheS - avatar
0
Print () is an output function
26th Aug 2019, 3:51 PM
Siramdasu Leela Vardhan
Siramdasu Leela Vardhan - avatar