Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Your program should ask for a racers name, followed by their total score for the season. You should output this list on two separate lines.

Your program should ask for a racers name, followed by their total score for the season. You should output this list on two separate lines. The first line will contain the names of the racers separated by commas and the second line will list their score. These should be listed in descending order based on the amount of points each racer has.


This file should be named RaceCar.txt


Note: Your program should handle all types of inputs without crashing.


Example:

Input
Output
Smith
Vespa, Duncan, Smith, Szudy, Rogers
24
36,32,24,20,19
Rogers

19

Vespa

36

Duncan

32

Szudy

20

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Here is a Python program that meets the requirements python def getinput name inputEnter the racers ... blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students explore these related Programming questions