mirror of
https://github.com/Oxbian/CodingGame.git
synced 2025-07-07 04:14:27 +02:00
Adding python files
This commit is contained in:
7
Python/Easy_Challenges/the_descent.py
Normal file
7
Python/Easy_Challenges/the_descent.py
Normal 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)))
|
Reference in New Issue
Block a user