≤:按住Alt,然后再按数字键盘41436≥:按住Alt,然后再按数字键盘41437
方法type(variable_name)示例a = 'hello'b = type(a)print(b)a = 10b = type(a)print(b)结果<class 'str'><class 'int'>
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号