On Fri, Sep 23, 2011 at 5:56 PM, ADRIAN KELLY wrote:
> Can anyone help me with the programme below; i hope you can see what i am
> trying to do, if i enter the wrong password the loop goes on forever and if
> i enter the right one nothing is printed...
> i am a newbieall comments welc
ADRIAN KELLY wrote:
Can anyone help me with the programme below; i hope you can see what i am
trying to do, if i enter the wrong password the loop goes on forever and if i
enter the right one nothing is printed...
i am a newbieall comments welcome
thanks adrian
p
On 23-Sep-11 15:56, ADRIAN KELLY wrote:
Can anyone help me with the programme below; i hope you can see what i
am trying to do, if i enter the wrong password the loop goes on forever
and if i enter the right one nothing is printed...
i am a newbieall comments welcome
Remember that r
The while condition is never true when you enter the correct password. So the
while loop is evaluated False and is never triggered.
What you should do, as a general rule of troubleshooting, is to use print
statements. So print the two outcomes and print the boolean evaluation
I'm assuming wh