Commit f72c1b7c by BellCodeEditor

save project

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