On 17/01/2015 1:03 AM, Chris Angelico wrote:
Scenario: You're introducing someone to Python for the first time.
S/he may have some previous programming experience, or may be new to
the whole idea of giving a computer instructions. You have a couple of
minutes to show off how awesome Python is. What do you do?

When demoing to people with a reasonable amount of experience, I've found they're often impressed by showing them list comprehensions, then generators, then chained generators.

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

Reply via email to