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
Question 5 of 10
Angelina_Jolie [31]

The cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors will be D. 8 cubic inches.

<h3>What is a conductor?</h3>

It should be noted that a conductor simply means a substance or material that simply allows electricity to pass through it.

From the information given, the cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors is yo be computed.

This will be:

= (4 × 6)/3

= 24/3

= 8

In conclusion, the cubic inch space that is required inside a box for 4 #6 XHHN current carrying conductors will be 8 cubic inches.

Learn more about conductor on:

brainly.com/question/11845176

#SPJ1

6 0
2 years ago
PLEASE I NEED HELP!
insens350 [35]

Answer:

it depends on how you do it it's mot9

4 0
3 years ago
The following is a list of metals and alloys:
viktelen [127]

Answer:

A) Gray cast iron

B) Aluminum

C) Titanium alloy

D) Tool steel

E) Titanium alloy

F) magnesium

G) Tungsten

5 0
3 years ago
A permanent magnet DC motor has an armature resistance of 0.5 Ω and when a voltage of 120 V is applied to the motor it reaches a
BaLLatris [955]

Answer:

12 N-m

Explanation:

The dc motor is operating at 24 V that is its terminal voltage V =24 V

Armature resistance  = 0.2 ohm

No load speed = 240 radian /sec

For motor we know that  as the motor is on no load so  so

Power developed in the motor

Now we know that power = torque× angular speed

So

3 0
4 years ago
You installed a new 40 gallon water heater with a 54,000 BTUh burner. The underground water temperature coming into the house is
allochka39001 [22]

Answer:

For most uses you'll want your water heated to 120 F(49 C) In this example you'd need a demand water heater that produces a temperature rise and it will take about 2 hours

7 0
3 years ago
Other questions:
  • Which of the following about top-down design is true?
    14·1 answer
  • Physical strength and dexterity for operating tools are most important for
    5·1 answer
  • A battery is an electromechanical device. a)- True b)- False
    6·1 answer
  • Add my sc please?.<br><br> kindacracked
    12·2 answers
  • Choose the type of alternative energy that you will advocate for. You may choose either a wind farm with an attached plant for g
    15·1 answer
  • If an employer agrees to give you constructive criticism of your interview performance, you need to listen carefully and take no
    8·2 answers
  • At the start of the effective red at an intersection approach to a pretimed signal, vehicles begin to arrive at a rate of 800 ve
    6·1 answer
  • When block C is in position xC = 0.8 m, its speed is 1.5 m/s to the right. Find the velocity of block A at this instant. Note th
    14·1 answer
  • How is everybody day going i`m 6 months pregnant
    6·1 answer
  • Joey has a car that uses the hand crank to open the windows. Joey is wondering where the energy comes from to open the windows.T
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!