Created
December 27, 2019 09:24
-
-
Save whalebot-helmsman/3326899d1f8019b00f63fc28883abb78 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 iterate(n, m, j, k): | |
for i1 in range(n): | |
for i2 in range(m): | |
for i3 in range(j): | |
for i4 in range(k): | |
yield (i1, i2, i3, i4) | |
for record in iterate(10, 20, 30, 40): | |
test_it(record) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment