Python Print() Function


#---------------------->Basic Print Method<------------------------
print("This is print function")
#Escape Sequence
print("It\'s My first program")
# Row string(It prints as it is inside the Quotation)
print(r"It\'s my first program")
# New Line
print("First Line \nSecond Line")
# Sum of two numbers(arithmetic)
print(5+2)

#------Output----------
# This is print function
# It's My first program
# It\'s my first program
# first line
# Second Line
#7

Comments