The following list is given: artists = ['Sting', 'Phil Collins', 'The Police', 'Queen', 'AC/DC'] What will be the result of the following operation? artists[::-1]
The following list is given:
artists = ['Sting', 'Phil Collins', 'The Police', 'Queen', 'AC/DC']
What will be the result of the following operation?
artists[::-1]
a. [‘AC/DC’, ‘Queen’, ‘The Police’, ‘Phil Collins’, ‘Sting’]
b. ‘AC/DC’
c. [‘Sting’, ‘Phil Collins’, ‘The Police’, ‘Queen’
d. [‘Sting’, ‘Phil Collins’, ‘The Police’, ‘Queen’, ‘AC/DC’]
e. ‘Phil Collins’, ‘The Police’, ‘Queen’, ‘AC/DC’]