1. Home
  2. Computing & Technology
  3. Python

Integer

By Al Lukaszewski, About.com

Definition: Mathematically, an integer is simply a number without a decimal like 0, 1, -1, 2, -2, etc. However, in Python, an integer (short for 'integer literal') is a container for numerical data. Therefore a variable that holds a numeric value of any sort is considered an integer literal in Python.

Explore Python

More from About.com

  1. Home
  2. Computing & Technology
  3. Python
  4. Programming Glossary
  5. Integer

©2008 About.com, a part of The New York Times Company.

All rights reserved.