Как сделать ответы без учёта регистра на python 3.8? # -*- coding: utf-8 -*- a=int(input("year of your birth ")) b=int(input("your age ")) f=(input("are you celebrated birth day in this year? ")) v=a+b m=a+b+1 if (('y' or "yes" or "да") in (f)): print("This year is ", v) if (('n' or "no" or "нет") in (f)): print("This year is ", m) else: print("your answer is uncorrect")
a = int(input("Year of your birth: ")) b = int(input("Your age: ")) f = input("Are you celebrated birth day in this year? ")
v = a + b m = a + b + 1
if f.lower() in ('y', 'yes', 'да'): print("This year is", v) elif f.lower() in ('n', 'no', 'нет'): print("This year is", m) else: print("Your answer is incorrect")
a = int(input("Year of your birth: "))
b = int(input("Your age: "))
f = input("Are you celebrated birth day in this year? ")
v = a + b
m = a + b + 1
if f.lower() in ('y', 'yes', 'да'):
print("This year is", v)
elif f.lower() in ('n', 'no', 'нет'):
print("This year is", m)
else:
print("Your answer is incorrect")