python extract first element from list code example
Example: find the first element in phython list
Alist = ['Sun','Mon','Tue','Wed','Thu']
print("The given list : ",Alist)
print("The first element of the list : ",Alist[0])
print("The last element of the list : ",Alist[-1])