top of page
< Back

Task 4 - Practice Question 2

This is a practice question for Task 4.
It follows the same format and complexity as the official past papers.
Complete the required functionality as specified in Q04.py.

# =====> Starter code for Task 4 - Question 2 # Import any required libraries # =====> Implement the logic required for Task 4 # =====> Ensure the output follows expected results

Example Outputs:
Expected output for Task 4 - Question 2, following the question requirements.

bottom of page