Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

Students also viewed these Databases questions