Commit befe2c3b by BellCodeEditor

auto save

parent eacf403d
Showing with 11 additions and 0 deletions
class Hero:
def __init__(self,name,hp,attacr,fg):
self.level=1
self.fg=fg
self.name=name
self.hp=hp
self.attacr=attacr
yase=Hero("yase",44,3,100)
hy=Hero("hy",10)
print(hy.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