πͺͺ Name Badge import task_variables_03 A school needs to print name badges. To make them stand out, names are printed in uppercase, and the number of letters in the name…...
π Student ID import task_variables_04 A school uses the first letter of each student’s first and last name as an ID. Amara Okafor’s ID would be “A.O.”. Write a Python…...
π₯οΈ Username Generator import task_variables_05 An online club generates usernames by combining the student’s first and last name, separated by a dot, all in lowercase. Kofi Mensah would become “kofi.mensah”.…...
π Fruit Shop Shopping Basket Amara visits a fruit shop to buy some fruits. The shopkeeper writes down the fruits she wants in a shopping basket. Amara decides to add…...
π Rocket Fuel Check Use: import task_operators_07 A small model rocket has a fuel tank that holds 50 units of fuel. Each second of flight uses 4 units. The rocket…...
π° Water Tank Fill Use: import task_operators_06 A water tank holds 200 litres. Water is being poured in at 15 litres per minute. The tap was opened for 8 minutes,…...
π Sharing Fruits Use: import task_operators_05 Sam has 27 apples and 5 friends. He wants to share the apples equally with all of them (including himself). He also wants to…...
π Class Party Snacks Use: import task_operators_04 Lily is planning a class party. There are 24 students in her class. She wants to give each student 3 cookies and 2…...
π° Pocket Money Savings Use: import task_operators_03 Tunde gets 20 naira from his dad every week. He saves 12 naira and spends the rest on snacks. He wants to know…...
π― Score Calculator Use: import task_operators_01 Ama is playing a video game. She starts with 10 points, earns 5 bonus points, and then loses 3 points to a penalty. She…...
π Fast Food Receipt Use: import task_operators_02 Kofi just ordered food at a restaurant. He ordered 2 burgers at 8 dollars each, and 1 soda for 2.5 dollars. The restaurant…...
π¦ Ice Cream Shop import task_variables_02 Mia walks into an ice cream shop and orders 2 scoops of chocolate ice cream for 3.5 dollars. The shopkeeper needs a simple order…...
π Pet Profile import task_variables_01 Rex is a 3-year-old dog. His owner needs a simple profile stored as Python variables. Write a Python program to store Rex’s information and print…...
Student Scores Activity Create a list of 5 student names. Ask each student for their math score. Store all the scores in a separate list. Calculate the total score of…...
Supermarket Billing System You are building a mini supermarket checkout system where a cashier scans items, updates quantities, applies discounts, and prints a receipt. π§Ύ Task Instructions πΉ Step 1:…...
Write what you are looking for, and press enter to begin your search!