subject

You're in charge of maintaining the statistics for your friends' soccer league. Complete the following function that accepts a list of tuples. Each tuple in the list will contain four elements: the first element is a string denoting the name of a particular player, and the next three elements are integers denoting the number of goals that player has scored in each of the last three seasons. The function should create and return a set of the names of all players who have scored at least 10 goals in each of the last three seasons. Input Format
The list of tuples will be passed as the only parameter to your function.
Constraints
Output Format
Your function should return the set of names of the elite scorers.
Sample Input 0
[('George', 4, 5, 1), ('Tommy', 15, 12, 16), ('Diego', 18, 17, 21), ('Raymond', 12, 7, 8)]
Sample Output 0
{'Diego', 'Tommy'}
Sample Input 1
[('Frank', 4, 11, 2)]
Sample Output 1
{}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 20.06.2019 18:02
Do i get charged for my brainy membership before or after the 6 months
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Technician a says that a shop towel should never be used to clean around the flange area before replacing an automatic transmission filter. technician b says that a dimpled transmission fluid pan can be repaired. who is right
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
You know the right answer?
You're in charge of maintaining the statistics for your friends' soccer league. Complete the followi...
Questions
question
Mathematics, 26.07.2019 17:00
question
English, 26.07.2019 17:00
Questions on the website: 13722367