Ashikur RahmanPython Web Development Techdegree Student 932 Points
Problem with the loop
Hi! My code not looping second time as like first time. Also the while loop iterating 6 time while my condition is less than or equal to 5.
My code is here. Visit the link
Emmanuel C8,732 Points
For the iteration part, you made guesses an array, which in most languages arrays are zero based. So when you have len(guesses) <= 5 it will go from 0 to 5, which is 6 iterations. Simply make it less than instead of less than OR EQUAL to 5.