Re: Program Error Help - Python 3.1

2017-03-31 Thread Cameron Simpson
On 31Mar2017 16:12, 2019.cavanau...@fpsedu.org <2019.cavanau...@fpsedu.org> wrote: Hello I've been coding for about 1 or 2 months and i have encountered a problem with a 'while' statement. It keeps looping even when the statement is false, here is the code. The code is for a game that I'm maki

Re: Program Error Help - Python 3.1

2017-03-31 Thread Larry Martell
On Fri, Mar 31, 2017 at 4:16 PM <2019.cavanau...@fpsedu.org> wrote: > while answer8 != ("1") or answer8 != ("2"): This statement is always true. Think about it. > > -- https://mail.python.org/mailman/listinfo/python-list

Re: Program Error Help - Python 3.1

2017-03-31 Thread Terry Reedy
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 keep

Program Error Help - Python 3.1

2017-03-31 Thread 2019 . cavanaughc
Hello I've been coding for about 1 or 2 months and i have encountered a problem with a 'while' statement. It keeps looping even when the statement is false, here is the code. The code is for a game that I'm making that resembles the Oregon Trial. -Thanks for your help! import random deep =