219k views
3 votes
Which statement will remove 5:'softball' from the dictionary?

sports = {2:'football', 3:'soccer', 4:'volleyball', 5:'softball'}
sports.remove()

sports.pop()

sports.pop(5)

sports.remove('softball')

User ZijingWu
by
4.9k points

2 Answers

3 votes

Answer:

sports.pop(5)

Step-by-step explanation:

User Dmaxi
by
5.1k points
3 votes

Answer:

sports.pop(5)

Step-by-step explanation:

edg 2020

User Kaspar Etter
by
4.4k points