What is the maximum values for numbers in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the maximum values for numbers in Python?

7th Jul 2021, 7:43 AM
Pemadam
2 Answers
+ 6
no max number for int... for float you can get it from sys module: print(sys.float_info.max)
7th Jul 2021, 8:10 AM
visph
visph - avatar
0
visph ah thanks!
7th Jul 2021, 8:12 AM
Pemadam