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

“The genetic code is universal.” Explain this statement.
the cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
A farmer hauled in 120 bales of hay. Each of his cows ate 1 1/4 bales. How many cows the farmer feed?
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
By the mid-1700s, the largest city in the colonies was (A) New York (B) Boston (C) Philadelphia (D) Charleston (E) Wilmington, Delaware
Which of the following organisms can perform alcoholic fermentation? (1) yeast, (2) humans, (3) bacteria. a. 1 and 2 b. 1 and 3 c. 1 only d. 1, 2, and 3
Which of the kingdoms has the smallest number of known species
the cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
Alicia estimates that the surface area of a rectangular prism with a length of 11 meters,a width of 5.6 meters,and a height of 7.2 meters is about 334 cubic met