Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. >>>> "{!s:4}{!s:5}".format('j',4,3)
  2. 'j 4 '
  3. >>>> "{!s:4}{!s:5}".format(b)
  4. Traceback (most recent call last):
  5. File "<stdin>", line 1, in <module>
  6. IndexError: tuple index out of range
  7. >>> b
  8. ('dat', 'is')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement