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

I need help with this problem. One number is 6 less than another number. The sum of the numbers is 24. Let x and y be the two numbers.
What does David think about the mountain? david pheonix
11+20+?-2=45 what is the missing number?
You roll a number cube and then spin a spinner. The events are independent. True False
Somebody help me grid math is my hard for me.
A person viewing stars at night. A shooting star creates a blue streak in the sky. During an evening hike, you see a shooting star just like the one pictured he
You have a friend whose parents are obese. Since he graduated from college, he has devoted a significant amount of his efforts to doing well in his new job, lea
The sides of a triangle are 4 cm, 8 cm and 6 cm m. What is the length of the shortest side of a similar triangle whose perimeter is 72 cm?
Choose the words that show the correct use of apostrophes in the sentence below. The homemade ice rink in ____and ____backyard was where they learned to figure
Annie is the height shown. She is 49 centimeters taller than her brother. Write and solve an equation to find her brother's height b in centimeters.