Question: Python Coding Assignment: Create a code to get the following output. Add (#) comments to line of code for explanation A triathlon is an athletic

Python Coding Assignment: Create a code to get the following output. Add (#) comments to line of code for explanation

A triathlon is an athletic contest consisting of three different events, typically swimming, cycling, and longdistancing running. Write a program that will prompt and accept the number of participants in a triathlon whose data is to be presented. For example (Interaction):

How many participants do you wish to display? 2 Name: Jeff Adrian Division: M4044 Event: Standard Triathlon: 1.5km Swim, 40km Bike, 10km Run Gender: Male Swim: 33.77 minutes Transition 1: 5.48 minutes Bike: 77.08 minutes Transition 2: 0.58 minutes Run: 64.12 minutes Total: 181.03 minutes Name: Jacob Adserballe Division: M4549 Event: Standard Triathlon: 1.5km Swim, 40km Bike, 10km Run Gender: Male Swim: 29.47 minutes Transition 1: 3.73 minutes Bike: 70.35 minutes Transition 2: 0.23 minutes Run: 48.03 minutes Total: 151.82 minutes

Notice that all the times are displayed to two (2) significant digits

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!