max number | Sololearn: Learn to code for FREE!


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


2 Answers

New Answer


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


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