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

Pleaseee help!!!!!!!!!!!!
Which of the following statements are true regarding the electromagnetic spectrum?1. X rays and gamma rays have very long wavelengths and very low photon energi
What city does the prime meridian run through?
Please help which box goes in which category
Select the correct answer. What is the y-intercept of y = 7? A. (0, 7) B. (7, 0) C. (7, 7) D. (-7, 7) PLZ HElp
Which is used when it is necessary to divide a word between syllables at the end of a line of type? A) colon B) contraction C) ellipsis D) hyphen
why was there a race to lay the most tracks(the Transcontinental railroad.)
On a scale drawing, the height of a tree is 3.75 inches.if the scale of the drawing is 1 in: 50ft,how tall is the tree?
Scott makes a scale drawing of a rectangular park. He uses the scale 5 centimeters: 3 meters. The length of his drawing is 20 centimeters and the width is 15 ce
10. Sulfur dioxide emitted from power plants eventually causes acid rain in the atmosphere. Which term best describes acid rain? Please explain. A. Secondar