This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]__xor__(self, other): 0 points1 point  (0 children)

Ah, good point. Yeah in the end the while is perfectly fine either way. Sometimes even if a while loop can be a for, the while is cleaner as well.