Gallery
Transmit Music Festival with starter code
Share
Explore
Transmit Music Festival with starter code

icon picker
Stages

Development work

Start here

Read the program requirements.
Identify the data to be input, processed and output.
Remember to break the problem down, here is a suggestion on how to do that by working through 2 versions:

version 1 requirements

develop a simplified version to do only the following:
input the name, age and the number of tickets for day 1
calculate the total
display the total
develop version 1
Create a list of action steps to handle the IPO of the data.
Edit the pseudocode.md file
create comments in your main.py program file using the pseudocode
use the CodeClips snippets to insert Python code for each step
Test your program once working add number of tickets for day 2
Add tickets for number of tickets for day.
Use the sample test data
Be careful when you insert the conditional construct

version 2 requirements

add the new features
input the condition for age, this will need an IF..ELSE conditional construct
decide what will happen if the condition is true
decide what the error message will be if condition is false
develop version 2
go back to your pseudocode.md and update it
now add code to your main.py file and update it
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.