Hacker News new | ask | show | jobs
by jaspersfather 5281 days ago
Instead of

    if bla in [bla, blubb, bfoo]:
      return True
    return False
you can write:

    return bla in [bla, blubb, foo]
1 comments

Done! Thanks :)