1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sergeinik [125]
2 years ago
10

g A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output

is the miles walked. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('{:.2f}'.format(your_value))
Engineering
2 answers:
Nataly [62]2 years ago
8 0

Answer:

# Program is written in Python Programming Language

# Comments are used for explanatory purpose

# Program starts here

# Accept input

Steps = input (Number of Steps: ")

# Calculate distance

distance = float(2000) * float(steps)

#Print Formatted Result

print('%0.2f' % distance)

# End of Program

.--------

The above program converts number of steps to miles.

At line 5, the number of steps is inputted and stored in variable named Steps.

At line 6, the number of miles is calculated by multiplying 2000 by the content of variable Steps

The result is printed at line 8

Novosadov [1.4K]2 years ago
5 0

Answer:

steps = int(input("Enter the number of steps: "))

miles = steps / 2000

print('{:.2f}'.format(miles))Explanation:

You might be interested in
What is the basic formula for actual mechanical advantage?
slavikrds [6]

Answer:

Mechanical Advantage Formula

The efficiency of a machine is equal to the ratio of its output to its input. It is also equal to the ratio of the actual and theoretical MAs. But, it does not mean that low-efficiency machines are of limited use. An automobile jack, for example, have to overcome a great deal of friction and therefore it has low efficiency. But still, it is extremely valuable because small effort can be applied to lift a great weight.

Also, in another way the mechanical advantage is the force generated by a machine to the force applied to it which is applied in assessing the performance of the machine.

The mechanical advantage formula is:

MA = FBFA

Explanation:

MAmechanical advantageFBthe force of the object

FAthe effort to overcome the force

3 0
2 years ago
25 In differential aeration corrosion, rich oxygenated parts are
sleet_krkn [62]

Answer:what are you trying to say

Explanation:

6 0
2 years ago
The metal control joints used to relieve stresses caused by expansion and contraction in large ceiling or wall expenses in inter
timurjin [86]

Answer:

It’s called Expansion Joints

6 0
2 years ago
A reservoir is 1 km wide and 10 km long and has an average depth of 100m. Every hour, 0.1% of the reservoir's volume drops throu
Ksju [112]

Answer:

250.7mw

Explanation:

Volume of the reservoir = lwh

Length of reservoir = 10km

Width of reservoir = 1km

Height = 100m

Volume = 10x10³x10³x100

= 10⁹m³

Next we find the volume flow rate

= 0.1/100x10⁹x1/3600

= 277.78m³/s

To get the electrical power output developed by the turbine with 92 percent efficiency

= 0.92x1000x9.81x277.78x100

= 250.7MW

7 0
3 years ago
YO CUTIE! HELP MEEEEEE! Hazardous waste is a category that includes all of the following EXCEPT
madam [21]

your answer should be <u>B. Soluble</u>

3 0
2 years ago
Read 2 more answers
Other questions:
  • the ____ method is the safest turning technique to use as it does not expose your hands to the airbags deployment area
    15·1 answer
  • For this question, you will be provided with data related to the count of website sessions by day for the past one hundred days.
    6·1 answer
  • Which utility program reads an assembly language source file and produces an object file?
    6·1 answer
  • Which of the following statements about glycogen metabolism is FALSE?
    12·1 answer
  • Whats the best used for Arch bridge
    11·1 answer
  • The phase sequence of a 3-phase system for which VAN = 120 /90o V and VBN = 120 /210o V is:_______
    11·1 answer
  • Write a program to calculate overtime pay of 10 employees. Overtime is paid at the rate of Rs. 12.00
    13·1 answer
  • PLS HURRYY!!!<br> Look at the image below
    10·1 answer
  • The size of an engine is called the engine
    13·2 answers
  • a storage tank contains liquid with a density of 0.0361 lbs per cubic inch. the height of liquid in the tank is 168 feet. what i
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!