Commit 607131b1 by BellCodeEditor

save project

parent a7e7e522
Showing with 7 additions and 7 deletions
class Hero:
def __init__(self):
def __init__(self,name,hp,attack):
self.level=1
self.hp=30000000000
self.attack=100000000000
IOS=Hero()
print("我IOS价值",yase.hp,"软妹币",性能分",yase.attack,"")
print("AI性能",yase.attack,"")
\ No newline at end of file
self.hp=hp
self.attack=attack
self.name=name
iOS=Hero("苹果公司",300,20)
ACH=Hero("安卓公司",200,15)
\ 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