Commit 07933b04 by BellCodeEditor

auto save

parent ef39df1c
Showing with 14 additions and 2 deletions
class hero:
def __init__(self):
self.level=1
self.hp=300
self.attack=2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
self.hp=123333333
self.attack=11111110111111110101011000100101010100000000000000000000
self.defense=1234567
xiangyu=hero()
print(xiangyu.hp)
class cake:
def __init__(self):
self.naiyou="pure"
self.size=2
self.fruit="apple"
dangao=cake()
print(dangao.size)
\ 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