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

What is the measure,in degrees,of the shaded angle?
A line segment has an endpoint at (-2,6) and it's midpoint is at (4,5). What is the order pair for the other endpoint of the line segment?
(8x^2)^3 multiplying monomials
Which ad format gives viewers the choice of whether or not to watch your ad, and helps drive brand consideration?
Electromagnetic energy does not need, Frequency Something to travel through wavelength amplitude
One reason male peacocks spread their tail feathers is to attract a mate. How does choosing a male with a bright, full tail increase a peahen’s chance of produc
Dianna has 4 quarters, 3 dimes, and 3 nickels in her purse. She reaches into her purse and randomly grabs two coins, one at a time. What is the probability of f
How did the Cold War most affect Florida ?
What is the measure of angle x? Select one: a. 100 degrees b. 130 degrees c. 135 degrees d. 150 degrees
every time you are convicted of a moving violation it will appear on your driving record true or false