Jul-08-2019, 11:41 PM
format is a method of strings, it is used by placing a . after the string
ie
format itself takes items that will replace {} that is found inside the string
ie
would become 'keep replace keep'
ie
'a string'.format()
format itself takes items that will replace {} that is found inside the string
ie
'keep {} keep'.format('replace')
would become 'keep replace keep'