I post my answer here too (i did it first on your other thread)
you've got an easy way of doing this :
datas="""[(0,1),(1,1),(2,1),(2,2),(1,2),(0,3),(-1,4),(-2,4),(-1,5)]
[(0,1),(1,1),(2,1),(2,2),(1,2),(0,3),(-1,4),(-2,4),(-1,5)]
[(0,1),(1,1),(2,1),(2,2),(1,2),(0,3),(-1,4),(-2,4),(-1,5)]""".split('\n')
for data in datas:
exec ("lst=%s" % data)
Prot='HPPHPPHHP'
for i, coord in enumerate(lst):
for elt in coord:
print elt,
print Prot[i]
This is to be adapted for your exact need