How to Print in Python with Examples
In the last post, we completed our first program. It’s time to print a message in python.
The print() function in Python is used to print a specified message on the screen. The print command in Python prints strings or objects which are converted to a string while printing on a screen.
Syntax:
print(object(s))How to Print a simple String in Python?
More often then not you require to Print strings in your coding construct.
Here is how to print statement in Python 3:
To print the Welcome to Big Data, use the Python print statement as follows:
1 print ("Welcome to Big Data")
Output:Welcome to Big Data
🔗 Read Online
#Python #python_3
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group