remove `else:` and outdent corresponding block and you achieve the same with less complexity ("flat is better than nested", `import this`).