Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. >>> def foo():
  2.     return 1, 5
  3.  
  4. >>> foo()
  5. (1, 5)
  6. >>> x, y = foo()
  7. >>> x
  8. 1
  9. >>> y
  10. 5
  11. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement