3 ms·
Actually that is really interesting to me. In the languages I'm familiar with, processing something such as 9999^9999 would require additional logic to avoid o
by kevinskii 16y ago
Actually that is really interesting to me. In the languages I'm familiar with, processing something such as 9999^9999 would require additional logic to avoid overflowing a fixed-size storage unit. I haven't worked with Python at all, and after looking at your reply I did a little bit of research and learned that its long integer type will automatically allocate as many bytes as necessary to get the job done. Very cool. I was thinking that someone would probably show me a better way in another language. Thanks for sharing.