Question 7: If Else Elif

Write a Python program to suggest exciting activities based on a child’s age.

 

Start by asking for the child’s name (or a fun nickname!).

Next, ask the child’s age.

Then, inquire about their favorite things to do: indoor activities or outdoor adventures.

If the child is 8 years old or older, recommend adventurous outdoor activities like hiking, biking, or playing sports.

If the child is between 5 and 7 years old, suggest creative indoor activities like drawing, building with blocks, or playing board games.

If the child is 4 years old or younger, recommend simple and fun activities like singing, dancing, or playing with toys.

Display the suggested activities with colorful images to inspire excitement!

Write what you are looking for, and press enter to begin your search!