Skip to content

Type Function

Python Type Function


The type function tells you the type of a constant or a variable.

Examples:

type(100)  ==> int

type(100.5)  ==> float