Python: Convert Feet into Meters

less than 1 minute read

The code has been modified slightly and now uploaded to the site.

The questions are from the C++ Textbook.

Question

<— Return Home

23.py

value = float(input("Enter a value for feet: "))
to_meters = value * 0.305
print(str(value) + " feet is " + str(to_meters) + " meters")

<— Return Home