from itertools import count
next_id = count(0).next
print next_id() # 0
print next_id() # 1
print next_id() # 2
If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions
Subscribe to:
Post Comments (Atom)
If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions
No comments:
Post a Comment