#pop()-return the value which elelment has been deleted
fruits=['strawbery','orange','banana','apple','mango','apple']
fruits.pop()
print(fruits)// prints the whole list after removing the last element
