size of int in python

Solutions on MaxInterview for size of int in python by the best coders in the world

showing results for - "size of int in python"
Antonin
22 Sep 2018
1int_val = 999999999999999999
2if int_val.bit_length() <= 63:
3    print((-2 ** 63).bit_length())
4else:
5    print("Bigger that 64")
6