The following list is given: artists = ['Sting', 'Phil Collins', 'The Police', 'Queen', 'AC/DC'] The following operation was performed on the list: artists.pop() Select artists list after this operation.
The following list is given:
artists = ['Sting', 'Phil Collins', 'The Police', 'Queen', 'AC/DC']
The following operation was performed on the list:
artists.pop()
Select artists list after this operation.
a. [‘Sting’, ‘Phil Collins’, ‘The Police’, ‘Queen’]
b. [‘Phil Collins’, ‘The Police’, ‘Queen’, ‘AC/DC’]
c. [‘Sting’, ‘Phil Collins’, ‘The Police’, ‘Queen’, ‘AC/DC’]
d. []