Answer:
See below
Note that because of floating point errors, you may not get the exact decimal portion
Step-by-step explanation:
n = float(input("Enter a float number: ))
dec = abs(n) % 1 # abs function deals with negative numbers also
# to get rid of floating point errors
print("The final outcome is: ", round(dec, 5))