Question: IN PYTHON: A college gives full scholarship to every player in its football team and men's basketball team. The coach of each team gives the

IN PYTHON:

A college gives full scholarship to every player in its football team and men's basketball team. The coach of each team gives the name of every player to the athletic director. The athletic director needs a program to handle the names. He wants the program to tell him how many scholarships they need to give out this year. What data structure in Python is the best choice to store player names? [Note: a student who plays both sports only needs one scholarship]

A.

A list for football players and a list for basketball players

B.

A tuple for football players and a tuple for basketball players

C.

A dictionary for football players and a dictionary for basketball players

D.

A set for football players and a set for basketball players

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!