0 purchases
prettylogic 1.0.1
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")
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.