mirror of
https://github.com/Oxbian/CodingGame.git
synced 2025-06-15 18:08:02 +02:00
8 lines
185 B
Python
8 lines
185 B
Python
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)))
|