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

One coin is randomly selected from a jar containing 20 pennies, 15 nickels, 3 dimes, and 12 quarters. What is the odds of a value less than $0.05
how many times can 21 go into 336
Simplify this expression: 19 – (–8) – (–14) = ? A. –7 B. –3 C. 41 D. 25
What do you do when you paraphrase something? A. Put an author's words into your own words. B. Eliminate unnecessary words from a quote. C. Use one quote to exp
In a play, the rising action consists of the events that lead up to the a. last line in the scene b. climax c. external conflict d. internal conflict
Which expression is equivalent to - 3 x (4/- 5)? a. (- 3 x 4) / 5 b. - 3/5 x 4 c. - 3/- 5 x 4 d. (- 3 x 4) / (- 3 x (-5))
Which of the following is NOT a function of proteins? A. store and transmit genetic information B. help to fight disease C. control the rate of reactions D.
____ has contributed the greatest number of immigrants to the United States. france england germany ireland
How much would a 185 pound astronaut weigh on the moon
Free-market economies use ______ to distribute goods, services, and resources A.Price B. Command C.Government