$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #193
What is the output?
print(sum([0.1] * 10) == 1.0)
False
True
None
Error
Ten inexact additions accumulate drift; math.isclose is the right comparison.
Play Problem Solving ▸
◂ #192
all Problem Solving — predict the output questions
#194 ▸