We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Basic Data Types
- Nested Lists
- Discussions
Nested Lists
Nested Lists
Sort by
recency
|
4546 Discussions
|
Please Login in order to post a comment
from math import inf
if name == 'main': arr = {} lowest = second = inf for _ in range(int(input())): name = input() score = float(input())
Hope this will help
All test cases passed
if name == 'main': students=[] student=[] for _ in range(int(input())): name = input() score = float(input()) students.append([name,score])
for i in names: print(i)