Commit 887b6b08 by BellCodeEditor

save project

parent f47689a4
Showing with 12 additions and 0 deletions
class Haro:
def __init__(self):
self.dj = 1
self.lan = 400 #蓝值
self.xue = 600 #生命值
self.gj = 300 #攻击值
meidui = Haro()
print(meidui.dj)
print(meidui.lan)
print(meidui.xue)
print(meidui.gj)
\ 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