PEP8 - vertical whitespace should be use sparingly; in this case it makes the if/else disjoint.