Commit c0dc5df9 by BellCodeEditor

auto save

parent 22354288
Showing with 16 additions and 0 deletions
class Sb:
def __init__(hero,name,hp,attack):
hero.hp=hp
name=name
hero.level=1
hero.attack=attack
yase=Sb("亚瑟",900,30)
print(yase.name)
def upgrade():
yase.level += 1
if yase.level==yase.level+1
yase.hp += 50
yase.attack += 4
def
\ No newline at end of file
import turtle
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