Created
February 1, 2020 23:52
-
-
Save kunigami/006a514efd4dd7cdde6ea44d8d9d809b to your computer and use it in GitHub Desktop.
This file contains 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
def generator2(): | |
for i in range(10): | |
yield i | |
def generator3(): | |
for j in range(10, 20): | |
yield j | |
def generator(): | |
for i in generator2(): | |
yield i | |
for j in generator3(): | |
yield j |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment