Commit a857c154 by BellCodeEditor

save project

parent a1fd317e
Showing with 14 additions and 10 deletions
class Hero: a=1
def __init__ (self): for i in range(1234567890):
a=a+a
class Hero:
def __init__ (self):
self.level=1 self.level=1
self.hp=50 self.hp=50
self.atk=3 self.atk=3
yase=Hero() yase=Hero()
print(yase.level) print(yase.level)
print(yase.hp) print(yase.hp)
print(yase.atk) print(yase.atk)
\ No newline at end of file print(a)
\ 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