Jean-Michel Pichavant a écrit :
Paulo Repreza wrote:
Greetings,
I'm having problems with a little script that I'm trying to finish, I
don't know if I'm in the right track but I know somebody is going to
help me.
(snip - problem already addressed by Jean-Michel...)
while var != ranum:
if var == ranum:
Note that this branch will never be executed - the condition in the
while statement make sure var != ranum in the while block.
print var, 'equals to:', ranum
else:
print var, 'does not equal to:', ranum
--
http://mail.python.org/mailman/listinfo/python-list