0
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?

0 Answers0