class Person():
def __init__(self,name,age):
self.name = name
self.age = age
p1 = Person('孙悟空',500)
p2 = Person('唐三藏',30)
print(p1.name)
print(p1.age)
print(p2.name)
print(p2.age)
class Person():
def __init__(self,name,age):
self.name = name
self.age = age
p1 = Person('孙悟空',500)
p2 = Person('唐三藏',30)
print(p1.name)
print(p1.age)
print(p2.name)
print(p2.age)