0
what is the result of this print(len(str(8/2**2**2)))
I know result is 3 but how. I don't know. please somebody help to understand
2 ответов
+ 5
2 ** 2 = 4
4 ** 2 = 16
(Or it could be 2**4, idk, doesn't matter).
8 / 16 = 0.5
str(0.5) = "0.5"
Length of that string is 3
'0' = 1
'.' = 2
'5' = 3
+ 2
you can try code. result is 3