We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f08896 commit eb3e469Copy full SHA for eb3e469
Status/Day_23.md
@@ -57,6 +57,25 @@ print(L2)
57
print(f'The runner up is {L2[-2]}')
58
```
59
60
+---
61
+```python
62
+'''Solution by: KailashS3
63
+'''
64
+num = int(input())
65
+scores = list(map(int, input().split(' ')))
66
+winner = max(scores)
67
+lst = []
68
+
69
+if len(scores) != num:
70
+ print('length of score is greater than input given')
71
+else:
72
+ for score in scores:
73
+ if winner > score:
74
+ lst.append(score)
75
76
+runnerup = max(lst)
77
+print(runnerup)
78
+```
79
---
80
81
# Question 96
0 commit comments