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 179 views
1 answer 159 views
1 answer 177 views
4 answers 1,698 views
1 answer 151 views
1 answer 155 views
...