May-25-2019, 11:41 AM
(May-25-2019, 11:36 AM)ichabod801 Wrote: The input function returns a string. You are comparing a string to a number, which is always not equal. You need to convert the return value of input using the int() built-in. And really, you should be testing for equality (==) on line 12, not inequality (!=). So line 12 should be if int(answer) == total:
.
Thank you so much! And the ''!='' in line 12 I forgot to change. I was only testing if that should work. But again, thanks!