我想要知道过程啊西吧

img

yf=eval(input('请输入你出行的月份\n'))
cw=input('头等舱输入1,经济舱输入2\n')
pj=5000
if yf in range(4,11):
    if cw=='1':
        print('机票价格:',pj*0.9)
    else:
        print('机票价格:',pj*0.6)
else:
    if cw=='1':
        print('机票价格:',pj*0.5)
    else:
        print('机票价格:',pj*0.4)