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
ki77a [65]
3 years ago
15

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

s 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))

Ex: If the input is:

5345
the output is:

2.67
Computers and Technology
1 answer:
bonufazy [111]3 years ago
5 0

Answer:

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

miles = steps / 2000

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

Explanation:

Ask the user to enter the number of steps, typecast the input to int

Calculate the corresponding miles, divide steps by 2000

Print the miles in required format

You might be interested in
Select all of the uses of presentation software in the workplace.
zaharov [31]

Answer:

uhm 1, 2, 3, 4, 6, 7, and 8.

Explanation:

because those are all the uses of presentation software in a workplace.

8 0
4 years ago
Kenny is asked to submit a photo for the annual photographic competition. He decided to capture a photo with the light-painting
Alja [10]

A condition which would be necessary to achieve this effect is the use of: D. tilt-shift lens.

<h3>What is tilt-shift photography?</h3>

Tilt-shift photography can be defined as a creative and unique technique in photography that involves the manipulation of a camera, so as to enable a life-sized subject (location) to have a light-painting effect or look like a miniature-scale model.

This ultimately implies that, tilt-shift lens is a condition which would be necessary to capture a photo with the light-painting effect.

Read more on photography here: brainly.com/question/26643795

#SPJ1

7 0
2 years ago
Why is timbre an important musical element?
Reptile [31]
It’s used to define the color or sound of a tone .
5 0
3 years ago
Read 2 more answers
______ is using material created by others without obtaining permission from the original authors.
Leto [7]
Plagiarism is the answer to the blank
6 0
4 years ago
Read 2 more answers
Impact of information technology in the society​
GarryVolchara [31]

Answer:

led to exposure of dangerous things

3 0
3 years ago
Other questions:
  • How can you recognize an unsecured wireless network?
    9·1 answer
  • What is wrong, logically, with the following code? if (x &gt; 10) System.out.println("Large"); else if (x &gt; 6 &amp;&amp; x &l
    11·1 answer
  • T F The scope of a parameter is limited to the function which uses it.
    12·1 answer
  • A ___________ is similar to Computer Integrated Manufacturing, but is based much more on standard reusable application software
    5·1 answer
  • Please Do Solve it guys...
    6·1 answer
  • Write a function that, given an array A of N integers, of which represents loads caused by successive processes, the function sh
    15·1 answer
  • Who is hurt by piracy
    10·1 answer
  • Write an algorithm to display your name 10 times​
    5·1 answer
  • Why does it keep saying this when I’m putting my right credit card number
    6·1 answer
  • In a selection, the else clause executes ______________. a. always b. when the tested condition is false c. when the tested cond
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!