format string like print python code example
Example 1: print string python
str1 = "Hello World"
print(str1)
Example 2: print python format
print('{} {}'.format('one', 'two'))
str1 = "Hello World"
print(str1)
print('{} {}'.format('one', 'two'))