I have a sample piece of code here:
scores = [[1,2,3,6],[1,2,3,9]]
highest = (max(scores[1:3]))
print (highest)
I am trying to print the highest number for both of the lists from index 1-3, but it just prints the highest list instead.
[1, 2, 3, 9]
Before people mark this as duplicate, I have searched other questions (with this one being the closest related) but none of them seem to work. Maybe I am missing a small key element.