DevJourney

Python/VIT/sem-1/ex-03/decimaloffloat.py

n = float(input("Enter a floating point number: "))
wn = int(n)
dp=n-wn
print(dp)

View on GitHub