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, 22.06.2019 10:00
Which of the following is true of operations within a spreadsheet programโ€™s built-in functions? a. operations within parentheses, then multiplication and division, and then addition and subtraction are computed. b. operations within parentheses, then addition and subtraction, and then multiplication and division are computed. c. multiplication and division, then addition and subtraction, and then operations within parentheses are computed. d. addition and subtraction, then multiplication and division, and then operations within parentheses are computed
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Determine whether the following careers would require training or college.
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
You know the right answer?
You're in charge of maintaining the statistics for your friends' soccer league. Complete the followi...
Questions
question
Biology, 22.07.2020 22:01
question
Mathematics, 22.07.2020 22:01
question
Biology, 22.07.2020 22:01
Questions on the website: 13722359