DEV Community

Cover image for Python print() function
Mehreen Mallick Fiona
Mehreen Mallick Fiona

Posted on

Python print() function

🖨 Print Function:

print() function is a built-in function of python for displaying value of an expression written inside the parentheses as an output.
When we write a set of code and want to see any text output on the screen, we use the print() function.For example:
Image description


💥A cool way to format your print statements:

  • Way 01:

Image description

  • Way 02:

Image description

Top comments (0)