Hi i am new to python and i am trying to build a function which will select each element of the list at a time,store each element in a variable and do something (using a loop)
StrLst = ['aaa','bbbaaa','cccbbb','aaabbb']
now i want the first element of the list which will be stored in a variable
LstEle = list[0] #i.e. LstEle = aaa
use the LstEle variable
and then go to the next element and do the same keep doing this for the whole list