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