Unit 2 Task 5: Zoo ticket price

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 2 Task 5 - Zoo ticket price

← Unit 2 tasks · Solution


A zoo uses this pricing (you do not need a loop for this task-one visitor only):

Ask for the visitor’s age (integer). Print a clear message with the price they should pay.

Use if, elif, and else.

Skills: conditionals, comparison operators.