Elif not being recognized in PyCharm (Python)

25 views Asked by At

Need help with if else statements. Everytime I run it the elif is not being recognized.

Wday = 17 

Wtues = 12 

Wend = 20 

day = input("Input the day of the drama: ") 
num = int(input("How many tickets? ")) 

if day == "monday" or "wednesday" or "thursday" or "friday":
    print(f"Total ticket cost is = ${num * Wday}") 
elif day == "tuesday": 
    print(f"Total ticket cost is = ${num * Wtues}") 
elif day == "sunday" or "saturday": 
    print(f"Total ticket cost is = ${num + Wend}")
else:
    print("Invalid.")
    exit()

The result when I run it is:

Input the day of the drama: Tuesday

How many tickets? 1

Total ticket cost is = $17

(The answer should be $12 not $17)

0

There are 0 answers