# -*- coding:utf-8 -*- __projet__ = "CoursS5" __nom_fichier__ = "8_circuit" __author__ = "A-J. Tinet" __date__ = "avril 2023" """ ======================================================================================================================== Ex. 8 - CIRCUIT ======================================================================================================================== """ # Programme principal if __name__ == '__main__': i1, i2, i3, i4, i5, i6, i7, i8 = True, False, True, True, False, True, False, False print((i1 and (i5 or (i3 and i4))and(i7 or i8))or (i2 and i6 and (i7 or i8)))