PHP
·
发表于 5年以前
·
阅读量:8391
>>> class Student():
def __init__(self,id,name):
self.id = id
self.name = name
>>> xiaoming = Student('001','xiaoming')
>>> id(xiaoming)
2281930739080