We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0f995a commit 676d8a6Copy full SHA for 676d8a6
Runner_up_score.py
@@ -0,0 +1,9 @@
1
+if __name__ == '__main__':
2
+ n = int(raw_input())
3
+ arr =list(map(int,raw_input().split()))
4
+ a=[]
5
+ for i in arr:
6
+ a.append(i)
7
+ if i==max(arr):
8
+ a.remove(i)
9
+ print(max(a))
0 commit comments