i'm making a some code for project, the all i want to do in test function is i want to print out each of 'list_total[y]' values i input
input example
1 # forget this input for now,
1 # the lines how many input i want to
100, 200 , 300 # i used a map
then it should be printed out 100, 200 ,300
but instead 'None'
my goal is draw the highest value in each of 'list_total[y]' but seems return value is 'none'
so i also get an error message
'TypeError: 'NoneType' object is not iterable'
when i make a code
like return print(max(list_total[y]))
here is the code i made below
T = eval(input(": "))
list_total = []
def test(value):
for x in range(value):
n = eval(input(": "))
for y in range(n):
list_total[y] = list_total.append(list(map(int, input(": ").split())))
return print(list_total[y]) # make sure code is working
test(T)