Adding python files

This commit is contained in:
Arkagedon
2022-03-13 19:40:00 +01:00
parent 96c71d1d71
commit 70f29fa19e
22 changed files with 320 additions and 32 deletions

View File

@ -0,0 +1,7 @@
import sys
import math
# game loop
while True:
mountain_h = [int(input()) for i in range(8)] # represents the height of one mountain.
print(mountain_h.index(max(mountain_h)))