Question: What's wrong with my code in python? (last two line) rod_str = input(Input rods: ) rod_float = float(rod_str) print(You input: , rod_float , rods )

What's wrong with my code in python? (last two line)

rod_str = input("Input rods: ") rod_float = float(rod_str) print("You input:" , rod_float , "rods" )

print("Conversions") meters_float = float(rod_float * 5.0292 ) print("Meters: " , round(meters_float,3)) feet_float = float(meters_float / 0.3048 ) print("Feet: " , round(feet_float,3)) miles_float= float(meters_float / 1609.34) print("Miles: ", round(miles_float ,3)) furlong_float= float(rod_float / 40) print(("Furlongs: ", round(furlong_float,3)) min_float=float(5.0292 * rod_float / 1609.34 / 3.1 * 60) print("Minutes to walk " ,round( rod_float , "rods : " , min_float,3))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!