Commit a5a6c3df by BellCodeEditor

save project

parent e72c924f
Showing with 13 additions and 0 deletions
class Person:
def __init__(self,name,age,height):
self.level=6
self.name=name
self.age=age
self.height=height
kaixin=Person('kaixin',10,60)
dad=Person('dad',50,200)
mom=Person('mom',50,110)
print(kaixin.height)
print(dad.height)
print(mom.height)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment