标签:pass pytho 函数 str abc Python一 int pre class
#object 是顶层基类
a = 1
type(a) #<class 'int' >
type(int) #<class 'type'>
b = "abc"
type(b) #<class 'str'>
class Student:
pass
stu = Student()
type(stu) #<class '__main__.Student'>
标签:pass pytho 函数 str abc Python一 int pre class
原文地址:https://www.cnblogs.com/amelie-/p/11874486.html