Commit f3a445a6 by BellCodeEditor

save project

parent 38099a58
Showing with 10 additions and 0 deletions
class hero():
def __init__(salf,name,hp,attack):
salf.leve1=1
salf.name=name
salf.hp=hp
salf.attack=attack
lao6=hero("老6",999999999999999,9999999999999)
print(lao6.hp)
lao8=hero("老8",999,999)
print(lao8.hp)
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