Commit bef7f9aa by BellCodeEditor

save project

parent f8647a88
Showing with 7 additions and 7 deletions
class Sans:
def_init_(self):
class Hero:
def __init__(self):
self.lever = 1
self.HP = 1
self.attack = 9999999999999999999999
yase = Sans()
self.attack = 99
yase = Hero()
print('等级:%d'%yase.lever)
print('等级:%d'%yase.HP)
print('等级:%d'%yase.attack)
\ No newline at end of file
print('血量:%d'%yase.HP)
print('伤害:%d'%yase.attack)
\ 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