how to check if a variable is a certain type in python code example
Example: how to check if a variable in python is a specific data type
isinstance(variable_name, class_name) #eg. isinstance(age, int) will return True
isinstance(variable_name, class_name) #eg. isinstance(age, int) will return True