Commit 727b67d3 by BellCodeEditor

save project

parent 1487a98d
Showing with 4 additions and 2 deletions
......@@ -2,4 +2,6 @@ class Hero:
def __init__(self):
self.level=1
self.hp=300
self.attack=20
\ No newline at end of file
self.attack=20
sub=Hero()
print(sub.level)
\ 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