Contact: aviboots(AT)netvision.net.il
39,066 questions
50,783 answers
573 users
import math print(math.fsum((-34.3, -12.1, 99.9, -51.6, 13.9))) ''' run: 15.800000000000008 '''
import math Tuple = (-34.3, -12.1, 99.9, -57.6, 13.9) print(math.fsum(Tuple)) ''' run: 9.800000000000008 '''
import math Tuple = (-34, -12, 99, -57, 13) print(math.fsum(Tuple)) ''' run: 9.0 '''