Skip to content

Glossary: Python Basics

Type

Also written: types, type()

The kind of a value, such as `int`, `float`, `str` or `bool`, which decides what you can do with it. The built-in `type()` function tells you a value's type.

Where the book teaches it

Related terms

TypeError