Question 19: If Else

A group of friends decided to spend a weekend organizing a community sports event. Each friend had $200 saved up, but they also earned extra money by selling tickets and…...

Question 18: If Else

A group of friends decided to spend a day practicing good behavior by helping others in their community. Each friend had $200 saved up. Write a Python program to calculate…...

Question 17: If Else

Sarah has $5000 saved up for her holiday shopping. She plans to buy gifts for her family and make a few purchases for herself. After calculating her expenses, she wants…...

Question 16: If Else

Sam and his friends are planning a fun summer holiday. They have saved up $250 each to spend on various activities. They want to visit a theme park, go to…...

Question 15: If

A farmer starts with a herd of 50 animals. Over time, various events cause the farmer to lose some of these animals. The farmer decides to keep track of the…...

Question 14: Multiple Ifs

John has $400 saved up and decides to spend it on different activities and items. After his expenses, he plans to divide the remaining money equally among four investment options.…...

Question 13: If Else

John has $250 saved up. He plans to spend some of this money on various activities and then split the remaining amount equally for his next few outings. Write a…...

Question 12: If Else

Sophie has $300 saved up and decides to spend it on different activities and items. After her expenses, she plans to divide the remaining money equally among her three friends.…...

Question 11: If Else

Michael received a gift of $200 for his birthday. He decided to use this money to buy different items and also to split some of the money for a future…...

Question 10: If Else

Emily saved $150. She decided to spend some of her savings on different items. First, she bought a book. Then, she purchased some snacks. After that, she saw a toy…...

Question 9: If Else

A boy saved $200. Write a Python program to find out how much money he has left after spending on various activities and check if he has any money left…...

Question 8: If Else

Write a Python program to determine which type of game a child should play based on their age.   Start by asking for the child’s name. Then, ask for the…...

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.…...

Question 6: If Else Elif

Write a Python program to recommend fun learning materials based on a child’s school grade.   Start by asking for the child’s name (or a nickname if they prefer). Next,…...

Question 5: If Else Elif

Create a program to perform basic arithmetic calculations.   Begin by asking for the user’s name. Then, prompt them to enter two numbers. Provide a menu with options for arithmetic…...

Question 4: If Else Elif

Start by asking for the child’s name (or a nickname if they prefer). Then, ask them about their favorite thing to do outdoors (like playing tag, riding a bike, exploring,…...
Write what you are looking for, and press enter to begin your search!