I have just noticed that while executing large exponent codes, python adds an L letter to the very end of the results:
>>> 25 ** 2588817841970012523233890533447265625L
After researching, I discovered that any amount that is below 10 doesn't add the L letter. For example:
>>> 9 ** 9387420489
Why does this happen, is there any function to stop it?
If you want to unleash your potential in this competitive field, please visit the Python course page for more information, where you can find the Python tutorials and Python frequently asked interview questions and answers as well.
This topic has been locked/unapproved. No replies allowed