atx crypto club

pyfags

#pyfags

Anon Ymous

Tue Jan 28 00:46:28 2020
<58f4c611> nvm i found a way to do it. probably unpythonic af so if there is a better way ig lemme know if you know one
<58f4c611> “`l=[10,20,30,40]

i = 0
j = 0
k = 0
while k &lt; len(l):
while i &lt; l[j] + 1:
print “i is %d, we are at index number %d” % (i, j)
i += 1
i = 0
k += 1
j += 1“`

Back to top