
A = ['abc', 'xyz', 'rgb'] 

for name in A:
    exec('%s = []' % name)

abc.append('foobar')
print(abc)