It does:
a=[(1,'Rach', 'Mell', '5.11', '160'),(2, 'steve', 'Rob', '6.1', '200'), (1,'Rach', 'Mell', '5.11', '160')] for i,e in enumerate(a): if e[0]==2: temp=list(a[i]) temp[2]='Roberto' a[i]=tuple(temp) print a
Print
[(1, 'Rach', 'Mell', '5.11', '160'), (2, 'steve', 'Roberto', '6.1', '200'), (1, 'Rach', 'Mell', '5.11', '160')]
If you want to understand the list, this is:
>>> [t if t[0]!=2 else (t[0],t[1],'Roberto',t[3],t[4]) for t in a] [(1, 'Rach', 'Mell', '5.11', '160'), (2, 'steve', 'Roberto', '6.1', '200'), (1, 'Rach', 'Mell', '5.11', '160')]