help?
Function Name: figureSkating() Parameters: technicalScores (list ), componentScores ( list ) Returns: finalScores ( list )Description: You and your friends decided to see a gorgeous figureskating competition. The event administrators displayed a technicalscore ( int ) and a program component score ( int ) for each figureskater separately. Write a function that takes in two lists: thelist of technical scores for each competitor and the list ofprogram component scores of each competitor. The function shouldreturn a list with final scores for each competitor. The finalscore for a competitor is calulated by the sum of their technicalscore and competitor score. However, some of the items in the givenlists are not ints and will cause an error while adding themtogether so only include final scores that don't error in yourlist. Note: A technical score in the first list corresponds to aprogram component score with the same index in the second list.Note: You must use try/except in this function.
help? Function Name: figureSkating() Parameters: technicalScores ( list ), componentScores ( list ) Returns: finalScores
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am