I'm really new at Python and programming in general. I'm supposed to add the first 7 numbers in the list
grades = [ '9', '7', '7', '10', '3', '9', '6', '6', '2' ]
so I wrote this code:
print("1.", grades[0] + grades [1] + grades [2] + grades [3] + grades [4] + grades[5] + grades[6] )
but it only prints out "97710396" which is the numbers just printed out as it was an index without spaces. How do I add them so I can get 51 to print out?