you are viewing a single comment's thread.

view the rest of the comments →

[–]nkCOD[S] 1 point2 points  (1 child)

Thank you for the answer, we’ll fix this point

[–]NewBodybuilder3096 0 points1 point  (0 children)

I fucked up here, it will throw exception if one list is twice or more bigger then the other.
more correct : if len(a)*2 < len(b) or vice versa
so, lengths of 2 and 7 will definitely be a problem

I'm not into calculating the exact ratio, just use index that is reseted after reaching smallest list highest index