On 04/19/2017 01:36 PM, Erik wrote:
On 19/04/17 21:25, Ethan Furman wrote:

Asking that you not denigrate non-Python ideas on the Python list is not
asking for "special respect",

I have no idea what you just said! :D

Yeah, I try to avoid negative checks in code.

How about this?

special_respect = False
be_courteous = True

ideas = [
    ('socio-economic', 'capitalism rules!'),
    ('spiritual', 'religion rules!'),
    ('political', 'left-wing rules!'),
    ('python', 'spaces rule!'),
    ]

for area, opinion in ideas:
    if area != 'python' and be_courteous:
        continue
    else:
        print(opinion)

print('non-Python ideas/opinions easily omitted without Special Respect!')

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

Reply via email to