Nov-17-2018, 06:10 PM
(This post was last modified: Nov-17-2018, 06:18 PM by searching1.)
(Nov-17-2018, 09:43 AM)j.crater Wrote: Hello, the "break" on line #39 should probably be indented. Now the break is always encountered on first for loop iteration.
else: print("\n Wrong! Try Again\n") print("Attempt",count) count += 1 breakTried putting inside the else and It always repeat to the 1 question when false. Thanks
(Nov-17-2018, 05:35 PM)woooee Wrote:while count < 3: for i in range (0,3):Both of these statements do the same thing. They both access the first 3 questions.
Any idea how can I retain the same question if it's wrong?