Define and print a string

There are many ways to print a string. Let us say we are in a Python interpreter session. We define a string and then print the same in four different methods.

> name = "Sreedhar"
> print(f"My name is {name}")
My name is Sreedhar

> print("My name is {}".format(name))
My name is Sreedhar

> print("My name is", name)
My name is Sreedhar

> print("My name is " + name)
My name is Sreedhar