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

Identify the correct sentence. a. Whenever we go to​ grandma's house, we play Scrabble. b. Whenever we go to​ Grandma's house, we play scrabble. c. Whenever we
6 [ 4 × ( 72 - 63 ) ÷ 3 ]
3a b2 b3 4b2 4 5a identify like terms
3 - 3 × 6 + 2 = what
After years of fighting in the New England and Middle Colonies, British forces invaded Georgia, and South Carolina. Based on the area, why might the British hav
What is the type of tissue that consist of living cells surrounding by an extracellular matrix?
A bookstore had 96 copies of a magazine. Yesterday, it sold 1/3 of them. Today, it sold 1/8 of what remained. How many copies does the bookstore have left?
What should you always remember when handling microscope slides?
On April 26, 1939, Great Britain did this in response to Hitler's aggressive moves? a. Removed its army from India c. Removed its navy from the Black Sea b. Re-
A writer reveals his or her​ ______________ by using tone and slanted language. a. publicity b. aptitude c. purpose d. permissiveness