 Python has a " string format " operator % . This functions analogous to <unk> format strings in C , e.g. " spam = % s eggs = % d " % ( " blah " , 2 ) evaluates to " spam = blah eggs = 2 " . In Python 3 and 2 @.@ 6 + , this was supplemented by the format ( ) method of the <unk> class , e.g. " spam = { 0 } eggs = { 1 } " <unk> ( " blah " , 2 ) . 
