INT_MAX in python wrong test or unclear condition

programming
Tags: #<Tag:0x00007f1824c1ece0>

#1

If number > 2 ** 31 - 1 the test return wrong answer but python is not overflow even number > 2 ** 33… I use number > sys.maxsize but test did not pass. And INT_MAX they mean return 2 ** 31 - 1. So I just mark that it’s unclear conditions what is INT_MAX and INT_MIN