Exercise 11: WAP in Python to input kilometers and convert into meters, centimetres, and inches. 1
# Convert Kilometer into meters, centimetres, and inches | ankitweblogic.com
km=float(input("Input number(km):"))
m=km*1000
print("Meter =",m)
cm=m*100
print("Centimeter =",cm)
inch=cm/2.54
print("Inches =",inch)