x = [True, True, False] if any(x): print("Au moins un True") if all(x): print("Aucun False") if any(x) and not all(x):