Commit 60b93506 by BellCodeEditor

save project

parent 89618bf7
Showing with 5 additions and 5 deletions
class hero:
class TheFirstDemo:
def __init__(self):
self.hp1=120
self.hp1=1
self.hp2=300
self.hp3=350
yese=hero()
print(yese.hp3)
self.hp3=20
yese=TheFirstDemo()
print(yese.hp2)
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