Commit 2b3b7065 by BellCodeEditor

auto save

parent 70850cf8
Showing with 12 additions and 0 deletions
class xinxiong:
def __init__(self):
self.level=1
self.hp=1000
self.attack=10
self.jinyan=0
libai = hero()
print(libai.level)
print(libai.hp)
print(libai.attack)
print(libai.jinyan)
\ 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