0
Hello what happens if we evaluate the following code(1e1000)
4 ответов
+ 3
'inf' stand for infinity... meaning you're reaching the accuracy limit of floating point storage (exponential notation implicitly store number as float), but you can handle greater integer number with Python... to be conviced, try and play with this:
a = 1
for i in range(1000):
a = a * 10
print(a)
+ 2
what code
0
i am getting output as inf
0
that means it is floating point code