Commit b68d534a by BellCodeEditor

save project

parent 95dc3e38
Showing with 11 additions and 0 deletions
class Hero:
def __init__(salt,HP,MP,speed):
salt.HP = HP
salt.MP = MP
salt.speed = speed
yase = Hero(300,200,120)
houyi = Hero(250,300,200)
print(yase.HP)
print(houyi.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