Why is my block of while loop code is repeating inside a defined function when I defined a break to come out of the loop and a return to return the value of the variable? I tried asking help from my father but sadly he couldn't figure out how to solve the problem. Continue reading...