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 28823e0 commit 094ee9aCopy full SHA for 094ee9a
Status/Day_23.md
@@ -28,6 +28,26 @@ arr.sort()
28
print(arr[-2])
29
```
30
---------------------
31
+```python
32
+'''
33
+Solution by: mishrasunny-coder
34
35
+num = int(input("Enter num: "))
36
+L = []
37
+
38
+while True:
39
+ L.append(num)
40
+ num = int(input("Enter another: "))
41
+ if num == 0:
42
+ break
43
44
+L1 = list(set(L[:]))
45
+L2 = sorted(L1)
46
+print(L2)
47
48
+print(f'The runner up is {L2[-2]}')
49
+```
50
+---------------------
51
52
# Question 96
53
0 commit comments