PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'''
Q/A Example
Multiple inputs using nested lists
'''
if __name__ == '__main__':
records = []
for _ in range(int(input() or 1)):
name = input()
score = float(input())
records.append([name, score])
print(records)
# First input on line 8 is number of records
# Second is 'name'
# Third is 'score'
# Copy and paste 5 lines of input
# into input field
'''
2
Sean
20
John
5
OUTPUT
Run