Answer:
import math
x = float(input("Input a decimal number of your choice: "))
y=int(x)
x=x-y
print(math.fabs(x))
Explanation: