I am asked to find the maximum positive number that can be supported by python. I wrote a code and got the correct answer, but then I messed a number up in the code and now I can't find what I did wrong. Can someone help me out? thanks :)
max = 1
max_precision= 1
float('inf')
while max != float('inf'):
max = max * 10
max_precision = max_precision + 1
print (precision)
The answer should give out 309 which is the right answer(and I got it once) but now the code keeps running endlessly and isn't giving me an answer