Guest User

Untitled

a guest
May 30th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def fun(param):
  2.     if param:
  3.         return ('foo', 'bar')
  4.     else:
  5.         return (None, None)
  6.  
  7. print(fun(False)) # (None, None)
  8. print(fun(False)) # None None
Advertisement
Add Comment
Please, Sign In to add comment