Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
type
type
Return the type of an object.
Python 3.13
1
type
(
object
)
object
The object to get the type of.
Examples
Python 3.13
1
type
(
123
)
<class 'int'>