Python: Type Example

# List
var = [1, 2, 3]

# Get type of variable
print(type(var))

Output:

<class 'list'>