Computer Science, asked by 19vivekmandal1pc39ic, 9 days ago

write a program to find a fraction of a number in python?​

Answers

Answered by rathod9999
1

Answer:

modf() in the math module can be used to get the fractional and the integer parts of a number at the same time. math. modf() returns a tuple (fractional part, integer part) . Each can be assigned to a variable using unpacking

Similar questions