def sannhets_funk(bool1, bool2): if bool1 and bool2: return 1 else: return 0 print(sannhets_funk(True))