+ 1

Print (0.2+0.1)

What is the output? How it is different from print(0.1+0.1)

22nd Aug 2020, 7:56 AM
sweta pandey
sweta pandey - avatar
4 ответов
+ 2
It is different because one is 0.3 and the other is 0.2 But what do you wanna know?
22nd Aug 2020, 8:07 AM
Dragonxiv
Dragonxiv - avatar
+ 2
Yes thanks
22nd Aug 2020, 8:24 AM
sweta pandey
sweta pandey - avatar
0
Try this in codeplayground... You will find the difference
22nd Aug 2020, 8:06 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar