Arikaturika Tumojenko8,897 Points
Why while len(guesses) < 5? I don't get it!
Why does the function stops at 5 tries? We didn't add anything in guesses =  so since the list is empty, why does Kenneth uses the word "hello" as an example? It just doesn't make any sense. Why 5 guesses when the list is empty?
Steven Parker182,341 Points
The list may start out empty, but the line that says "
guesses.append(guess)" adds another item to the list each time through the loop.
So after 5 tries, the length of "guesses" will be 5 and the loop will not repeat any more.