max number | Sololearn: Learn to code for FREE!

+2

max number

in pascal there is the concept of the maximum possible number - this is maxint. in python how does this number look and how to call it?

6/7/2020 7:15:35 AM

Karlusha

2 Answers

New Answer

+4

math module has a constant "inf", would it fill your needs?

+4

Python's ints don't overflow, they grow forever, so there is no need for maxint.