Commit 3f3f267d by BellCodeEditor

save project

parent d68396ab
Showing with 11 additions and 1 deletions
王娇1310 class a:
\ No newline at end of file
class hero:
def __init__(self):
self.level = 1
self.hp = 300
self.attack = 20
yase=hero()
print(yase.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