📅  最后修改于: 2022-03-11 14:45:31.256000             🧑  作者: Mango
input1 = input('feet to meter or meter to feet? ')
if input1 == 'feet to meter':
feet = float(input('enter feet: '))
meter = feet *0.3048
print(meter)
if input1 == 'meter to feet':
meter = float(input('enter meter: '))
feet = meter/0.3048
print(feet)