Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)

Can anyone tell me what is the largest value of an int data type in the python?

1 Answer

0 votes
by (108k points)

The largest value of an int data type in the python programming language is 2147483647, Plain octal and hexadecimal literals can be at most 4294967295, but values larger than 2147483647 will be changed to a negative value by subtracting 4294967296. The long integer literals won’t have any limit apart from what can be stored in available memory.

If you wish to learn Python from an online course, then enroll in this Python Training course by Intellipaat provides instructor-led training, lifetime access, certification, and job assistance.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 22, 2021 in Python by Rekha (2.2k points)
0 votes
1 answer

Browse Categories

...