►
Run
#take a list myList = ['apple', 'banana', 'cherry'] #remove 'apple' myList.remove('apple') print(f'resulting list : {myList}')
Output