【Python】第3次练习:if条件语句——水费计算、判断闰年、货币转换程序(双符号) 一、单选题: 二、程序题: 1、水费计算 w=eval(input()) if w<=10: x=w*0.32 print('{:.1f}'.format(x)) if 10<w<=20: x=(w-10)*0.64+10*0.32 print('{:.1f}'.format