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

5x+y=2 2x3y=62 whatn is x and y
If you flip a coin 100 times and get 74 heads and 26 tails. What is the probability that the next flip results in a tail?
which innovation would best address a challenge facing modern japan?
How do you find the phase shift of the trig function y=4sin(pieX+2)-5
Once a bill is approved by both houses of the legislature, it becomes a law when A.the president or governor vetoes the bill. B.the House and Senate agree upon
Which of the following words best describes Africa? A. Country B. Continent C. Desert D. River
existing rocks can become sedimentary rocks when they are subjected to which conditions? a.) erosion, deposition, compaction b.) heat, erosion, pressure c.) hea
Yuri has a rope 12m long. he cuts it into pieces that are each 2m long. what fraction of the rope is one piece
you can buy 2 dvds for the same price you would pay for 3 cds selling for 13.20 apiece. explain how you could find the price for 1 dvd
Read the sentence below and answer the following question: Alice was banking on a snow day as she watched the snowflakes gather on the ground. What does the wor