/pretty-logic

Primary LanguagePythonMIT LicenseMIT

Pretty Logic

Are you tired of your multi-line or statements looking ugly? Would you rather use commas between your booleans? This is the package for you.

It's very simple!

And

from pretty_logic import _and

if _and(True, False, True, True):
    print("This is false")
else:
    print("This is true")

Or

from pretty_logic import _or

if _or(True, False, True, True):
    print("This is true")
else:
    print("This is false")