Is there way to write an infinite for loop in Python?
for t in range(0,10):
if(t == 9): t= 0 # will this set t to 0 and launch infinite loop? No!
print(t)
Generally speaking, is there way to write infinite pythonic for loop like in java without using a while loop?