Learning Python: Chapter 10
Thursday, 14 February 2008
- elsif is called elif.
- Parens around boolean tests are optional.
- A semicolon can be put at the end of any statement to make it look like C.
- Parts of statements enclosed in parens, curlies or brackets may span over multiple lines.
Since parens may be wrapped around each expression, virtually anything can be spread over multiple lines.
A Short History of Nearly Everything
Seven Languages in Seven Weeks
I Am a Strange Loop