Commit 7a415b05 by BellCodeEditor

save project

parent dffaa198
Showing with 11 additions and 3 deletions
......@@ -5,6 +5,14 @@ class country:
self.hp=hp
self.attack=attack
ger=country("German Reich",350,50)
sov=country("Soviet Union",600,30)
sov=country("Soviet Union",600,20)
print(ger.hp)
print(sov.hp)
\ No newline at end of file
print(sov.hp)
def gerupgrade():
ger.level+=1
ger.hp+=30
ger.attack+=12
def sovupgrade():
sov.level+=1
sov.hp+=45
sov.attack+=6
\ 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