Commit 899854c2 by BellCodeEditor

auto save

parent 50b0a3fb
Showing with 4 additions and 3 deletions
class Hero: class Hero:
def __init__(self): def __init__(self):
self.level = 200 self.level = 20000000000000000000000000000000000000000000000000000
self.HP = 5000 self.HP = 5000
self.attack = 300 self.attack = 300
yase = Hero() yase = Hero()
print('等级:%d'%yase.level) print('等级:%d'%yase.level)
print('血量:%d'%yase.HP) print('血量:%d'%yase.HP)
print('攻击:%d'%yase.level) print('攻击:%d'%yase.attack)
\ No newline at end of file \ No newline at end of file
print('a'< 'b')
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