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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started