This content originally appeared on DEV Community and was authored by jothilingam
print()
function is a function that allows us to output to the screen
The print() function has three different uses;
- Single quotes (' ')
- Double quotes (" ")
- Three quotes (“”” “””)-----------for multi line
we can use anyone type quote, cannot use different quote in same line
print()---------------------------#create empty line
print("jothilingam")--------------#string should print with""
print(5)------------------------#number can print without ""
print("jo""jo")--------------print without space
print("jo"+"jo")--------------print without space
print("jo","jo")--------------print with space
print with seperator
This content originally appeared on DEV Community and was authored by jothilingam

jothilingam | Sciencx (2024-07-13T06:48:32+00:00) PRINT function in python. Retrieved from https://www.scien.cx/2024/07/13/print-function-in-python/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.