Computer Science, asked by keshavking8562, 1 year ago

What is the length available for integer in python?

Answers

Answered by GOPINTR
0
Python 2.* int s take either 4 or 8 bytes(32 or 64 bits), depending on your Python build. sys.maxint ( 2**31-1 for 32-bit ints, 2**63-1 for 64-bit ints) will tell you which of the two possibilities obtains.
Similar questions