Python中的简单类型检查示例:
assert type(variable_name) == int assert type(variable_name) == bool assert type(variable_name) == list