Commit 43a780ee by BellCodeEditor

save project

parent 70850cf8
Showing with 8 additions and 0 deletions
class One:
def __init__(nb):
nb.hp=300
nb.harm=20
nb.level=1
laoliu = One()
print("laoliu的血量是",laoliu.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