You are viewing a single comment's thread. Return to all comments →
tmp=data #max data
tmp2=0 #max data counter
for i in range(len(data)-1):
for j in range(i+1,len(data)):
for k in range(len(data)):
this was my code.
to get max_height, i use the loop twice. so it didn't work.
but like you said, its working with single loop! thanks
and it is so amazing that you used single looop... never imagined it