danielhudson78 danielhudson78
  • 01-10-2021
  • Computers and Technology
contestada

2.4 Code Practice: Question 2

Respuesta :

maythiabbj maythiabbj
  • 01-10-2021

Answer:

import math

x = float(input("Input a decimal number of your choice: "))

y=int(x)

x=x-y

print(math.fabs(x))

Explanation:

Answer Link

Otras preguntas

Which of the following statements about federal student loans is TRUE?. A. The interest rate on your loan will be fixed over time.. B. The interest rates on f
The United States Constitution delegates police powers mainly to A. state and local authorities. B. the National Guard. C. the president of the United States. D
Why can't some substances dissolve in water? Chemically?
What are the media? How did the media play a role in the Concord City election?
4. Decide if the segment lengths form a triangle. If they do, Indicate whether the triangle is acute, right, or obtuse. (a) 16, 30, 34 ? (b) 4, 5, 6? (c) 7
Simplify 12,176 divided by 24
How did organic compounds get their name? Explain how the word is related to its meaning.
By 1970, Nixon and those who supported him believed that A) the Vietnam War would soon end in a US victory. b) the Vietnam War had become dangerous and unjust
linda has $9 in her wallet. she buys a car for $1.17. she wants to buy some pens that cost 2.65 each. what is the maximum number of pens she can buy?
Why were President Wilson’s Fourteen Points not incorporated in the Treaty of Versailles? A. The Allied delegates wanted Germany to pay reparations for the war.