Welcome to CodingDrills by Creator Academy

How do you want to code?

Three modes, three separate leaderboards. You can switch any time from the header.

Not sure? We'll start you with Blocks (9-12 yrs) - you can switch in the top bar any time.

Sunday 11 October 2026

CodingDrills.au

Complete 3 warm up questions to unlock bonus challenges!

Age By Year Group

Warm Up Question1 of 3

An average person starts kindergarten when they are 5 years old. They will be in Year 1 when they are 6 years old, Year 2 when they are 7 years old, etc. Write a program that inputs someone's year group and outputs how old they are (assume the above to be true).

Input Format

An integer: someone's year group.

Output Format

An integer: that person's age.

Example

Input:
4
Output:
9

Python Code Editor

2:59
Blitz Bonus: +10pts
# Write your Python code here

Complete 3 more warm up questions to unlock bonus challenges!