Aug-22-2020, 04:51 PM
Remember that when a
return
statement is encountered, the function immediately returns. So, only one iteration of your while
loop is performed, because the function returns at the end of that.