how to use format in python 3 code example
Example 1: How to use .format in python
#The {} are replaced by the vairables after .format
new_string = "{} is string 1 and {} is string 2".format("fish", "pigs")
Example 2: .format python 3
#New Style
'{} {}'.format('one', 'two')
#Old Style
'%s %s' % ('one', 'two')