DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
infinity range or infinity looping
import itertools for i in itertools.count(start=1): if there_is_a_reason_to_break(i): break
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#infinity
#range
#infinity
#looping
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit