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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started