Commit 7c31dc45 by BellCodeEditor

save project

parent fb08bff6
Showing with 10 additions and 0 deletions
class hero:
def __init__(self):
self.level=100
self.hp=1000
self.attack=10000
caixukun=hero()
print(caixukun.attack)
\ 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