Mar-04-2024, 06:59 AM
hi
I saw in a quiz on Instagram that wanted the result of
it had 4 choices:
1)True
2)False
3) machine dependence
4)...
At first glance, it seems the result is 1.
but when I ran the line, I took False.
also in idle, I have:
choice 3, machine dependence is not true?
plz,explantion.
thanks
I saw in a quiz on Instagram that wanted the result of
print(0.1+0.2==0.3).
it had 4 choices:
1)True
2)False
3) machine dependence
4)...
At first glance, it seems the result is 1.
but when I ran the line, I took False.
also in idle, I have:
0.1+0.2
Output:0.30000000000000004
what is your opinion about it?choice 3, machine dependence is not true?
plz,explantion.
thanks