Math, asked by brindharohithkannan, 6 months ago

An integer in python can be of any length(True or false)​

Answers

Answered by Anonymous
4

Answer:

In Python 3, int is arbitrary-length - the long of Python 2 was renamed to int and the original Python 2 int dropped altogether. The long /Python 3 int is a variable-length object, just like a tuple - when it is allocated, enough memory is allocated to hold all the binary digits required to represent it.

Answered by Anonymous
10

Answer:

In Python 3, int is arbitrary-length - the long of Python 2 was renamed to int and the original Python 2 int dropped altogether. The long /Python 3 int is a variable-length object, just like a tuple - when it is allocated, enough memory is allocated to hold all the binary digits required to represent it.

Similar questions