Program - python print last element of list


Topic: Program - python print last element of list

Solution

mylist = [0, 1, 2]
print(myList[-1]) 



List all Python Programs