help? Function Name: figureSkating() Parameters: technicalScores ( list ), componentScores ( list ) Returns: finalScores

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

help? Function Name: figureSkating() Parameters: technicalScores ( list ), componentScores ( list ) Returns: finalScores

Post by answerhappygod »

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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply