Answers for "size of int in python"

1

size of int in python

int_val = 999999999999999999
if int_val.bit_length() <= 63:
    print((-2 ** 63).bit_length())
else:
    print("Bigger that 64")
Posted by: Guest on July-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language