Skip to content

Instantly share code, notes, and snippets.

@tenfyzhong
Created August 14, 2018 00:50
Show Gist options
  • Save tenfyzhong/5e45a5334ade1999c18b24095f82a8aa to your computer and use it in GitHub Desktop.
Save tenfyzhong/5e45a5334ade1999c18b24095f82a8aa to your computer and use it in GitHub Desktop.
float range
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