Sep-30-2019, 02:18 PM
One other issue - in line 9 you logically "or" that the number is not 0 and not 1. 0 is not 1, and 1 is not 0, so that will always evaluate as true.
Changing that line to simply
Changing that line to simply
elseshould fix it.