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

ABCD is a parallelogram. If BC is equal to x + 2 and AD is equal to 12, find x
What was the central concern of families in the Maurya and Gupta Empires? a.attaining social recognition b.gaining local power and influence c.follo
Why does President Carter state that the US Congress will wait to pass the SALT II treaty?
Frida applied the steps below to find the product of (–1.2)(–9.4).Step 1: (–1.2)(–9.4) = (–9.4)(–1.2) Step 2: = (–9.4)(–1) + (–9.4)(–0.2) Step
lying quad stretches are an effective static stretching for runners because they
Select the correctly punctuated sentence. He told us, "That he had been born in this little town." He told us that "He had been born in this little town." He to
what is the solution to y-2>1
Assuming g(x) = x2 + 3, what is the change made to g(x) if the parent function is f(x) = x2?
Which property of equality justifies the following statement? "If y-4= 6 then y= 10" A. Addition property of equality B. Multiplication property of equality C.
why are steam and ice similar ?