Python中type和object

Python中type和object type  所有类是type生成的 a = 1 b = "abc" print("type a:{}".format(type(a))) print("type int:{}".format(type(int))) print("type b:{}".format(type(b))) print("type str:{}".format(type(str)))
相关文章
相关标签/搜索