PukiWiki


文字列フォーマット の変更点


*文字列から数値へ変換する。 [#l397d0bc]

**C言語 [#d0a0cb0e]
sprintf()

**Python [#u292dc18]
str.format()
 >>> "The sum of 1 + 2 is {0}".format(1+2)
 'The sum of 1 + 2 is 3'