Commit 0e18de62 by BellCodeEditor

save project

parent f47689a4
Showing with 10 additions and 0 deletions
class Hero:
desc ="这是个角色"
def __init__(self):
self.level=1000
self.hp=9999999
self.gongjili=999
gaozesheng=Hero()
print(Hero.desc)
print(gaozesheng.hp)
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