Commit 3c30d241 by BellCodeEditor

save project

parent 70850cf8
Showing with 15 additions and 0 deletions
class Ultraman():
def __init__(self,name,hp,atk,rhp,crit,era,defp,dodge):
self.level=70
self.name=name
self.hp=hp
self.atk=atk
self.rhp=rhp
self.crit=crit
self.era=era
self.defp=defp
self.dodge=dodge
legend=Ultraman("legend",239568,297658,1308,68%,67%,16897,6958)
zett=Ultraman("zett",379586,305876,1604,57%,85%,53957,14976)
print("雷杰多的攻击力为"legend.atk)
print("泽塔的生命值为"zett.hp)
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