KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Write short notes on Python output statement.

Getting Started

2 Likes

Answer

In Python, the print() function is used to view the output of a program on a standard output device (i.e., monitor), when executed. The content within the round brackets of print() function may be a value, a variable, a message or the combination of message and variables. For example, print(25+15) will display 40 on the screen, and print("PYTHON") will display PYTHON on the screen.

Answered By

3 Likes


Related Questions