I'm working with python and I was just wondering that is it possible to have variable names be stored in another list.
Achievement = ['hi', 'hey', 'hello']
lines = ['Achievement', 'hi']
print lines[0][2]
I want the output to be 'hello' in this case. Can anyone suggest me any way to achieve that.