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]
3 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]3 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]3 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
A company has a stack that emits a hazardous air pollutant. The ground mass concentration directly downwind of the plume sometim
fredd [130]

Answer:

do the wam wam

Explanation:

3 0
3 years ago
Read 2 more answers
Technician A says that the original equipment manufacturer (OEM) offer scan tools to service their specific line of vehicles. Te
Anastasy [175]

Answer:

a. Technician A

Explanation:

Aftermarket parts are replacement parts that are not made by the original equipment manufacturer. They can not guarantee as much functionaluty when compared to OEMs. Original Equipment Manufacturer (OEM) usually their own proprietary scan tools which offer better and functionality to service their special line of vehicles. So Technician A alone is correct.

8 0
3 years ago
Read 2 more answers
Con una tasa de interés de 8% por año, ¿a cuánto equivalen $10 000 de hoy, a) dentro de un año, y b) hace un año?
Contact [7]

Answer:

que hces en eeuua

Explanation:

8 0
3 years ago
In alternating current, how often does the current alternate between negatively and postively?
Serggg [28]
In an alternating current (AC) circuit the two poles alternate between negative and positive and the direction of the current (electron flow) reverses periodically.
4 0
3 years ago
Read 2 more answers
What do larger horsepower engines require
Maksim231197 [3]

Answer:

Upgrades

Explanation:

Larger horsepower engines require more fuel, more lubricant, larger throttle body and injectors, etc.

5 0
3 years ago
Other questions:
  • The two windings of transformer is: a)- Conductively linked. b)- Not linked at all. c)- Inductively linked d)- Electrically link
    9·2 answers
  • Define the coefficient of determination and discuss the impact you would expect it to have on your engineering decision-making b
    15·1 answer
  • A 0.9% solution of NaCl is considered isotonic to mammalian cells. what molar concentration is this?
    10·1 answer
  • What’s the population in the world and why does it keep increasing in bad areas.
    8·1 answer
  • Drag each label to the correct location on the image.
    5·2 answers
  • help me please help me please help me please help me please help me please help me please help me please help me please help me
    13·2 answers
  • How many color are in da rainbow​
    5·2 answers
  • A machine used to lift motorcycles consists of an electric winch pulling on one supporting cable of a block and tackle system. T
    15·1 answer
  • A(n) _____________ is used commonly in open split-phase motors to disconnect the start winding from the electrical circuit when
    5·1 answer
  • Drivers education :Anything that draws your mind off driving is
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!