
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this lab task, you are required to write functions in python to calculate the total score of a series of matches played by person a. The function should take two inputs, 'x' representing the number of matches played, and 'n' representing the number of scores. The total score is calculated using the multiplication and addition concepts. For instance, if person a played 5 matches and scored 10, 8, 9, 7, and 6 points respectively, the total score would be (10 + 8 + 9 + 7 + 6) * 1. This document does not provide any specific context or background information about the lab task or the functions that need to be implemented.
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Person A played ‘x’ number of matches and scored ‘n’ scores you are required to implement a task using functions in which a function takes two inputs from main ‘x’ and ‘n’ and then gives the result back to the main that is his total score of the series but by (multiplication using addition concept)
docsity.com