menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
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
asked
May 25, 2024
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
Computers and Technology
college
Wei Lin
asked
by
Wei Lin
8.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Answer:1=tuple2=list3=list
Explanation: because i got it right
Akhil Paul
answered
May 30, 2024
by
Akhil Paul
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jun 28, 2024
199k
views
Which collection type in Cassandra is a dictionary-like object? a) Set b) Map c) List d) Tuple
Inkblot
asked
Jun 28, 2024
by
Inkblot
8.1k
points
Computers and Technology
high-school
1
answer
0
votes
199k
views
asked
Nov 22, 2021
16.3k
views
What type of collection is used in the assignment statement info: [3:10,4:23,7:10,11:31] tuple list Duque dictionary
Mohit Sehgal
asked
Nov 22, 2021
by
Mohit Sehgal
9.1k
points
Computers and Technology
college
2
answers
2
votes
16.3k
views
asked
Sep 7, 2022
98.4k
views
Choose the type of collection created with each assignment statement ____ collection A = {5:2} Options: tuple, dictionary, list ____ collection B = (5,2) Options: tuple, dictionary, list ____ collection
Nati Sholman Oskar
asked
Sep 7, 2022
by
Nati Sholman Oskar
7.8k
points
Computers and Technology
college
1
answer
0
votes
98.4k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org