1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alborosie
3 years ago
8

Choose the best collection for each situation.

Computers and Technology
1 answer:
slega [8]3 years ago
6 0

Answer:

Deque: You need to keep a record of the ages of the last 50 customers visit a restaurant. As new customers come in you delete the age that has been in the list the longest.

Tuple: You need to store the GPS coordinates of the hospitals in a state in order to find the nearest hospital for ambulance helicopters.

List: You write a loop to save anywhere from 10 to 100 values from a user. You will pass the collection to a function to find the average.

Explanation: Just got the results back no thanks to the guy above

You might be interested in
Can someone please give me example of three types of loop in pascal (It has to has randomize in it too)
Lubov Fominskaja [6]

Sr.No Loop Type & Description
2 for-do loop Executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
3 repeat-until loop Like a while statement, except that it tests the condition at the end of the loop body. (HOPE THIS HELPS!!)
3 0
3 years ago
How can you modify elements of the Start menu?
netineya [11]

Answer: you can add program by using a "pin" option or

For frequently used program you can customize the list by including or exuding program

But those on right are coming with Windows features

4 0
3 years ago
In this lab, you will use a web API to fetch and display quotes on a selected topic, as shown below (please see image)
nadya68 [22]

Answer:

 

Explanation: what class is this aND grade

4 0
2 years ago
In python please:
Oksana_A [137]

Answer:

declare a list and loop through to get the total sales

Explanation:

input_string = input("Enter sales: ")

userList = input_string.split()

print("user list is ", userList)

print("Calculating total of the sales")

sum = 0

for num in userList:

   sum += int(num)

print("Total sales= ", sum)

7 0
3 years ago
You tell me if I only have middle school education then why do I have a 34 thousand dollar student loan bill?
motikmotik

Answer:

Explanation:

The number one thing that comes to my mind would be identity theft.

3 0
4 years ago
Other questions:
  • Create a class CitiesAndCountries with at least three methods: class CitiesAndCountries: def add_country(self, country_name): ""
    7·1 answer
  • Nathan notices his computer system is slowing down when he tries to copy documents to it. He also gets a prompt that warns him t
    15·1 answer
  • When a defendant pleads guilty to one offense just to have another offense dropped, this is what type of plea bargain
    14·2 answers
  • What are the texture of metamorphic​
    12·1 answer
  • Consider the following methods:
    10·1 answer
  • You are seeking a way to store computer files so you have backup copies anywhere you go.? Which one of the secondary storage typ
    11·1 answer
  • Use a search engine and spot the sponsored results for safer internet day.
    11·1 answer
  • CPT (Current Procedural Terminology) codes consist of 3-4 numbers representing a unique service. True False
    14·1 answer
  • What is a device driver​
    13·2 answers
  • The __________ was the first all electronic computer.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!