213k views
1 vote
Choose the best collection for each situation.

1. You have a set of data that will not be changed and you will not need to add new items.


A. list

B. dictionary

C. tuple


2. You wrote a loop to ask the user for a set of 100 numbers. You will add a number to the collection on each pass through the loop, then pass the collection to a function for processing.


A. list

B. dictionary

C. tuple


3. You have the unique inventory number and description of every item in a store. You will need to add items when they come in and delete items when they are sold.


A. list

B. dictionary

C. tuple

User Wei Lin
by
7.8k points

1 Answer

3 votes

Answer:1=tuple2=list3=list

Explanation: because i got it right

User Akhil Paul
by
7.0k points