Commit f72c1b7c by BellCodeEditor

save project

parent 96230935
Showing with 10 additions and 2 deletions
class xinxiong: class xinxiong:
def __init__(self): def __init__(self):
self self.level=1
\ No newline at end of file self.hp=1000
self.attack=10
self.jinyan=0
libai = xinxiong()
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