From e58738e5a204091bb00d840c4df2d3cb32feca5a Mon Sep 17 00:00:00 2001 From: cosmian Date: Thu, 24 Oct 2019 19:39:57 +0900 Subject: [PATCH] problem 5 (Find the Runner-Up Score) updated --- problem_5.py | 10 ++++++++++ test.py | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 problem_5.py create mode 100644 test.py diff --git a/problem_5.py b/problem_5.py new file mode 100644 index 0000000..dfb3f2e --- /dev/null +++ b/problem_5.py @@ -0,0 +1,10 @@ +if __name__ == '__main__': + n = int(input()) + arr = list(map(int, input().split())) + winner = max(arr) + i = 0 + while i