I doubt adding that line after the user response is read in will alter anything.
Try adding a print statement to display what value setValueAns actually holds.
Type: Posts; User: Junky
I doubt adding that line after the user response is read in will alter anything.
Try adding a print statement to display what value setValueAns actually holds.
Check your input against the loop condition. Of course it will stop.