Python fsum() is an inbuilt math function that is used to find the sum between some range or iterable. The sum() function is under the math library, so to use this function, we first will have to import math.

**Python fsum()**

Python fsum() method is a library method of the math module, and it is used to find the sum (in float) of the values of an iterable, it accepts an iterable object like an array, **list**, **tuple**, etc. (that should contain numbers either integers or floats). It returns the sum in float of all values.**

**Syntax**

```
math.fsum( value )
```

Here, the value can be a range or an iterable like an array, tuple.

#python #python fsum