I checked maximum size of the integer Python holds using sys.maxsize
and it returned me 9223372036854775807
.
Then why I can still store a value greater than this range?
How many bytes are required to store an integer and do Python changes number of bytes depending on the size of an integer?
I am using Python 3.6