AI engineering glossary · Python core

What is integer?

Integer (also called int): A whole number without a fractional part, of type int. Python integers can grow as large as memory allows, so there is no fixed overflow limit as in many other languages. They are used for counts, indexes and identifiers.

Level: beginnerTopic: Python core

Integer: an example

population = 1_428_000_000 stores a large count; 2 ** 100 still gives an exact result.

Related terms

More Python core terms

Where you learn it

Integer is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.