Created
August 14, 2018 00:50
-
-
Save tenfyzhong/5e45a5334ade1999c18b24095f82a8aa to your computer and use it in GitHub Desktop.
float range
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 frange(start, stop, increment): | |
x = start | |
while x < stop: | |
yield x | |
x += increment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment