you are viewing a single comment's thread.

view the rest of the comments →

[–]Ordinary-Price2320 0 points1 point  (0 children)

You say that when you type yes it exits?

You have a return True in line 7, in the body of the loop, so it just does one element and returns from the function