How to print Simple String? 

Mostly you do not need to print string in coding


Example:-1 Welcome to my blog, use the print () function to print:-

Print("Welcome to my Blog")


Output:-

Welcome to my Blog



Example:-2 If you want to type the name of the country, you can write:

Print country  name
Output:-

INDIA
NEPAL
CANADA
GARMANY
JAPAN
FRANCE


How to print blank Lines in Python?

Sometimes we need a black line in a Python program, the examples are given below:-

print(8*"\n")

or

print("\n\n\n\n\n\n\n\n")



Let's print 5 blank lines, you can type:-

print("Welcome to my Blog")
print(5*"\n")
print("Welcome to my Blog")

Output:-
Welcome to my blog





Welcome to my Blog


Print end command

Lets type a program:-

print("Welcome to ",end='')
print("my Blog",end='.')


output:-

Welcome to my Blog.




Create the Print Program in Python click here