Max Integer Value Of Python3
What is the max value of integer in python for 64-bit system. I tried sys.maxsize and I tried incrementing the value by 1 and still showing type as int. If it is converted to long
Solution 1:
In Python3, value of an integer is not restricted by the number of bits and can expand to the limit of the available memory
print(100**100)
output: 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Post a Comment for "Max Integer Value Of Python3"