Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

.format python 3

#New Style
'{} {}'.format('one', 'two')

#Old Style
'%s %s' % ('one', 'two')
Source by pyformat.info #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
6+7 =