Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

feet to meter python

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)
 
PREVIOUS NEXT
Tagged: #feet #meter #python
ADD COMMENT
Topic
Name
1+5 =