Commit c73e2426 by BellCodeEditor

save project

parent 668b80c6
Showing with 5 additions and 5 deletions
class Hero:
def __init__(self):
self.level:-999999999
self.hp:0.000001
self.attack:10
self.level=-999999999
self.hp=1
self.attack=10
wuyuhan=Hero()
print(hp)
\ No newline at end of file
print(wuyuhan.hp)
\ 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