>>> temp = '{0:.2f} {1:s} are worth US${2:d}'
>>> temp.format(4.5560, 'Argentine Peosos', 1)
'4.56 Argentine Peosos are worth US$1'
>>> temp
'{0:.2f} {1:s} are worth US${2:d}'
=> format 메서드를 사용해서 전달
=> 문자열 포맷은 광범위한 주제이며 결과 문자열에서 값을 어떻게 표시할 것인지에 대해서는 다양한 옵션과 메서드가 있다.