#SOLUTION FOR P01
#LAST ELEMENT OF THE LIST
mylist = ['a','b','c','d']
length =0

for item in mylist:             #traverse through list. at end last element will be stored in 'item'
    length+=1
print(item)                     #last element from the list

#SOLUTION FOR P01
#LAST ELEMENT OF THE LIST
mylist = ['a','b','c','d']
length =0

for item in mylist:             #traverse through list. at end last element will be stored in 'item'
    length+=1
print(item)                     #last element from the list

#SOLUTION FOR P01 #LAST ELEMENT OF THE LIST #traverse through list. at end last element will be stored in 'item' #last element from the list