does anyone know why that error comes out when trying to add four positions in a variable? I have tried with only one position and it works for me, but if I try to add more it gives me an error:
My error:
Traceback (most recent call last):
  File "\script.py", line 165, in <module>
    Ad100()
  File "\script.py", line 142, in Ad100
    baseAd100.extend(row[0,2,3,4])
TypeError: tuple indices must be integers or slices, not tuple
My code: 
def Ad100():
    for rows in pcorte:  ##pcorte es el resultado de una consulta.
        print(rows)
    
    baseAd100 = []
    
    for row in pcorte:
##        llenado.append(row[0]) this way works for me in another function with only the first position
        baseAd100.extend(row[0,2,3,4]) ##in this way it generates an error
    print(baseAd100)
My data: 
('220002393681', '0171', '823', 'S', 1008, '25175', 997, 547)
 
    