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

Yolanda owns 4 rabbits. She expects the number of rabbits to double every year.a) after how many years will she have 64 rabbits?b) write and equation to model t
what is perpendicular to y= 3x -9 and passes through the point (3,1)
would you rather be a senator or a representative member? why or why not?
List two factors that might cause an organism to restrict its use of a resource.
An oscillator makes four vibrations in one second. What is its period and frequency?
Determine the half-life of potassium if in 3460 years a 200 g sample decayed into 25 g
what describes the solvent in any solution
A box contains bags of crisps. Each bag of crisps weighs 25 grams. Altogether, the bags of crisps inside the box weigh 1 kilogram. How many bags of crisps are i
Determine the half-life of potassium if in 3460 years a 200 g sample decayed into 25 g
Put brackets in the expression below so that it's value is 45.024. 1.6 + 3.8 * 2.4 *4.2 (*= times )