I have been working on this code:
print('Type any number or letter to start. ')
begin = input()
if begin != "Z" or 'z':
print("Starting up!")
elif begin == "Z" or "z":
print("Except Z")
When I run it, I expect it to be that when I type "Z" for the input, it prints the message "Except Z". Instead, it prints "Starting up!" which seems to be very counter-intuitive. Can anyone find where my problem is?