►
Run
#initialize list myList = ['apple', 'banana', 'cherry'] #pop item from list item = myList.pop() #print popped item print(f'popped item is : {item}') #print list print(f'resulting list : {myList}')
Output