If 2 of 3 Values are True then Print true, if not Print false.
output = ""
w1 = input()
w2 = input()
w3 = input()
output = w1 and w2 or w1 and w3 or w2 and w3
print(output)
I dont understand why this code prints False when w1 and w3 are true.
This is working but i dont understand the deference
output = ""
w1 = not input() == "False"
w2 = not input() == "False"
w3 = not input() == "False"
output = w1 and w2 or w1 and w3 or w2 and w3
print(output)