Page 80 - CloudGPT_C6_Flipbook
P. 80
Subject Enrichment
Chase the Apple
B. Create a game with two sprites, one will be a Player sprite and another will be an Apple sprite.
Objective of the game:
To chase and catch the wandering apple and collect as many points as possible
before the time runs out.
Every time the apple is caught, points are added, and the timer is restored.
Code:
Output:
Python
Critical Thinking
C. Write a Python program to print the following:
Five famous landmarks of your city.
Name of any five countries that you wish to visit.
Your five favourite cars.
78 Premium Edition-VI Practical Assessment PB

