How to get min and max integer value supported by the platform in Python

1 Answer

0 votes
import sys

print(-sys.maxsize)
print(sys.maxsize)




'''
run:

-9223372036854775807
9223372036854775807

'''

 



answered Jun 10, 2021 by avibootz

Related questions

1 answer 172 views
1 answer 150 views
1 answer 171 views
4 answers 1,674 views
1 answer 136 views
1 answer 137 views
...