-
-
Save vck/87355a61bb9d82fb0630 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [1]: def live(act,lazy=True): | |
| ...: if lazy == True: | |
| ...: pass | |
| ...: else: | |
| ...: return act | |
| ...: | |
| In [2]: live('campus',False) | |
| Out[2]: 'campus' | |
| In [3]: live('campus,eat or eaten',False) | |
| Out[3]: 'campus,eat or eaten' | |
| In [4]: live('campus,eat or eaten',True) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment