I want to make two lists, the first containing three names and the second containing three lists of scores:
name_list = [[name1][name2][name3]]
score_list = [[22,33,35][32,22,34][32,44,50]]
My current code is this:
name = []
name.append(input('input students name: '))
score = []
for i in range(3):
score.append(int(input('input students scores: ')))
I want to save three names and three lists of scores, but it only saves the last input name and values.
Here is the program I am trying to make: enter image description here