Pocket Money Planner
Ask for pocket money and spending, then work out what is left and how many weeks to save for a gift.
Open challenge 1Four longer programming challenges on variables, input, conditionals and for loops. Each challenge is on its own page. Try it yourself, then press Show solution.
Ask for pocket money and spending, then work out what is left and how many weeks to save for a gift.
Open challenge 1Use if / elif / else and and / or to decide ticket price and ride access from age and height.
Open challenge 2Loop through race times entered by the user. Find the total, the average, and how many times beat the school record.
Open challenge 3Check a password first. Then run a 5-question times-table quiz, score the answers, and print a grade.
Open challenge 4