“Long time Pythoneer Tim Peters succinctly channels the BDFL (Benevolent Dictator For Life) guiding principles for Python's design into 20 aphorisms, only 19 of which have been written down.” • An aphorism - “a concise statement of a scientific principle, typically by a classical author.” • python -c 'import this' • https://www.quora.com/What-do-different-aphorisms-in-Th e-Zen-of-Python-mean
Readability counts. … There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch.
colors sorted(iterable[, key][, reverse]) Return a new sorted list from the items in iterable. key specifies a function of one argument that is used to extract a comparison key from each list element: key=str.lower. The default value is None (compare the elements directly).
of brackets containing an expression followed by a for clause, then zero or more for or if clauses." [ expr for var1 in list1 if/for… ] a = [i + 3 for i in range(10)] • Clean and readable • Avoid for complex expressions - use loops