Skip to content

Glossary: Python Basics

Int

Also written: integer, integers, int()

A whole number such as 3 or -20. Calling `int("3")` converts text into an int.

Where the book teaches it