2017-10-10から1日間の記事一覧
昔ながらのやり方(まだ使われてるけど) 'This is our %s' % 'string' # This is our string print('we are learning %s %s' % ('Python', '3')) # we are learning Python 3 print('we are learning %(lang)s %(ver)s' % {'lang': 'Python', 'ver': '3'}) …
昔ながらのやり方(まだ使われてるけど) 'This is our %s' % 'string' # This is our string print('we are learning %s %s' % ('Python', '3')) # we are learning Python 3 print('we are learning %(lang)s %(ver)s' % {'lang': 'Python', 'ver': '3'}) …