Ganesh Pal wrote:

[repaired Subject, restored attribution]

> Thomas 'PointedEars' Lahn wrote:
>> Most simple solution for this: Do not use a loop.  More "complicated"
>> solution: Use an “if” statement.
> 
> I want to stick on to loop and try modifying the code with if. Should I
> use some comparison operation with if  ?

Yes.

Please see, again, <http://www.catb.org/~esr/faqs/smart-questions.html>

-- 
PointedEars

Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to