On Fri, 11 Aug 2017 12:54 pm, Mikhail V wrote:

> but at a first glance, "while" reads as "if" as in english.

In English the two words don't mean the same thing.

That's why 

if foo:
    ...


and 

while foo:
    ...


are different.




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.

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

Reply via email to