Overview:
- The function fsum() returns the accurate sum of multiple floating point numbers in an iterable.
Example:
# Example Python program that sums up the daily maximum temperature maxTemp = [73, 71.5, 74.1, 72.3, 75.3] print("Average maximum temperature:") |
Output:
Average maximum temperature: 73.24 |