Gallery
Triathlon with starter code
Share
Explore

icon picker
The Task

Activity: Triathlon 🏊 🚴 🏃

Problem description

program requirements for Triathlon 🏊 🚴 🏃

Problem Description

The organisers of a Triathlon competition have asked you to develop a program to process the points data.Triathlon competitors are awarded points for swim, cycle and run events. The points total is calculated by adding up the three event points.

Your program should ask the user to enter the points for each event and then calculate the total points. Finally you should display the total points.

To do list
You have to produce:
a list of the inputs, processes and outputs, use the pseudocode.md file
a pseudocode design, use the pseudocode.md file
a working program, use the main.py file
In fact this is a worked example project so it is basically finished, the files are almost complete
The purpose of this example is to highlight the stages to work through to complete the task.
So, work your way through the stages below 👇, your tutor will guide you.
There are still a few loose ends for you to finish off!

Tasks 🧑‍💻 Overview

Use the notes in the stages below to
review and understand what has been completed already in the pseudocode.md and main.py files.
find out what still has to be done to complete these files.
get the job finished!
Good luck! 🍀

sample output

Enter swimming points: 12
Enter cycling points: 10
Enter running points: 14

Swim, cycle, run total: 36

next

move on to the stage 1 page in the tutorial to begin
Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.