Last active
October 17, 2017 23:28
-
-
Save marksagal/71d61e9d53668ed9d7772400ea3b8885 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
| def by48(max_num): | |
| p_value = 0 | |
| for i in range(0, max_num, 48): | |
| """ | |
| range(start, stop, step) | |
| """ | |
| yield p_value | |
| p_value += 1 | |
| # Maximum of 100 | |
| for p in by48(100): | |
| print(p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment