Commit c9c263e0 by BellCodeEditor

save project

parent b92ca3d0
Showing with 2 additions and 2 deletions
......@@ -4,7 +4,7 @@ class hero:
self.name=name
self.hp=hp
self.attack=attack
n=hero("xiaoweilaoshi",300,20)
m=hero("wangxijin",240,100)
n=hero("xiaoweilaoshi",30000000,2000000)
m=hero("wangxijin",0.00000240,0.000100)
print(n.name,n.hp,n.attack)
print(m.name,m.hp,m.attack)
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