Commit 8f7fbe04 by BellCodeEditor

save project

parent 529d71e0
Showing with 2 additions and 1 deletions
class Hero(): class Hero():
def __init__(self): def __init__(self):
self.dengji=1 self.dengji=1
self.xuling=300 self.xuling=300
self.gongjili=200 self.gongjili=200
yase=Hero() yase=Hero()
print(yase.gongji)
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