hi, is there a faster way to build a circular iterator in python that by doing this:
c=['r','g','b','c','m','y','k']
for i in range(30):
print c[i%len(c)]
thanks,
Fl�vio
--
http://mail.python.org/mailman/listinfo/python-list
hi, is there a faster way to build a circular iterator in python that by doing this:
c=['r','g','b','c','m','y','k']
for i in range(30):
print c[i%len(c)]
thanks,
Fl�vio
--
http://mail.python.org/mailman/listinfo/python-list