Commit 76f1dc9d by BellCodeEditor

save project

parent df17f6e4
Showing with 8 additions and 6 deletions
def sum(meney): class Hero:
count=0 def__init__(self):
for i in money: self.level=1
count=count+1 self.hp=300
return count self.attack=20
\ No newline at end of file yase=Hero()
print(yase.hp)
\ 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