What's mean print() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's mean print()

what is use it??? without parameters

7th Oct 2018, 4:55 AM
Wasim Ghafar
Wasim Ghafar - avatar
3 Answers
+ 1
print is a way to write something on the standard output. Not only on the screen, because if you use it on a computer or an embedded system, the standard output can be completely something else like a file example: python myprogram.py > result.txt This command line redirect the standard output to the file result.txt.
7th Oct 2018, 6:31 AM
Xavier Heugue
Xavier Heugue - avatar
+ 1
The print() function prints the specified message to the screen
7th Oct 2018, 12:05 PM
Pandiselvi
0
In Python language is used to output data on the screen computer.
7th Oct 2018, 5:55 AM
Luiz Santos
Luiz Santos - avatar