aqeelat / pretty-logic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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")

About

License:MIT License


Languages

Language:Python 100.0%