You are viewing a single comment's thread. Return to all comments →
hey Norman99, Could you please explain to me how the line
while len(set(heights)) > 1:
works?
"while the length of the set of heights is greater than one" is what I'm reading. How does that work? And why do we want the set length to be 1?
Seems like cookies are disabled on this browser, please enable them to open this website
Equal Stacks
You are viewing a single comment's thread. Return to all comments →
hey Norman99, Could you please explain to me how the line
works?
"while the length of the set of heights is greater than one" is what I'm reading. How does that work? And why do we want the set length to be 1?