On 3/31/2017 7:12 PM, 2019.cavanau...@fpsedu.org wrote:
Hello I've been coding for about 1 or 2 months

If at all possible, start with 3.6, not 3.1.

and i have encountered a problem with a 'while' statement.

You should assume that your code is buggy.  That is true even of experts.

> It keeps looping even when the statement is false,

False.

here is the code.
while answer8 != ("1") or answer8 != ("2"):

which is always True.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to