thislist = ["apple", "banana", "cherry"] 
curfile = "thislist" 
print(curfile[0]) #should give apple
I have presented a rough idea about what I am trying to do, can anyone help me with this?
thislist = ["apple", "banana", "cherry"] 
curfile = "thislist" 
print(curfile[0]) #should give apple
I have presented a rough idea about what I am trying to do, can anyone help me with this?