Python Challenges - 101 Computing https://www.101computing.net Boost Your Programming Skills! Mon, 08 Jun 2026 20:25:26 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png Python Challenges - 101 Computing https://www.101computing.net 32 32 Estimating π with François Viète’s Infinite Product https://www.101computing.net/estimating-pi-with-francois-vietes-infinite-product/ Thu, 04 Jun 2026 13:45:21 +0000 https://www.101computing.net/?p=22232 Long before computers existed, mathematicians were already trying to pin down the value of π using clever geometric constructions and infinite processes. One of the earliest breakthroughs came from a French mathematician named François Viète (1540–1603), who discovered one of

The post Estimating π with François Viète’s Infinite Product first appeared on 101 Computing.

]]>
Recycling Bin Helper Program https://www.101computing.net/recycling-bin-helper-program/ Wed, 03 Jun 2026 11:59:53 +0000 https://www.101computing.net/?p=22219 Recycling correctly helps reduce waste and protects the environment. Different types of waste need to be placed in different bins, but remembering which item goes in which bin can sometimes be confusing. In this Python challenge, you will create a

The post Recycling Bin Helper Program first appeared on 101 Computing.

]]>
Python Challenge: Nicomachus’ Theorem https://www.101computing.net/python-challenge-nicomachus-theorem/ Wed, 03 Jun 2026 09:29:21 +0000 https://www.101computing.net/?p=22216 Nicomachus of Gerasa was an ancient Greek mathematician who lived around 60–120 AD. He is best known for his work Introduction to Arithmetic, one of the earliest surviving books on number theory. One of the most famous results attributed to

The post Python Challenge: Nicomachus’ Theorem first appeared on 101 Computing.

]]>
UK Car Plate Number Decoder https://www.101computing.net/uk-car-plate-number-decoder/ Mon, 18 May 2026 15:12:45 +0000 https://www.101computing.net/?p=22183 Did you know you can find out where a UK car was first registered or how old it is just by looking at its number plate? In this Python challenge, we will create a program that decodes a UK plate

The post UK Car Plate Number Decoder first appeared on 101 Computing.

]]>
Build Your Own Pizza – Price Calculator https://www.101computing.net/build-your-own-pizza-price-calculator/ Fri, 01 May 2026 11:03:34 +0000 https://www.101computing.net/?p=22139 Welcome to this beginner-friendly Python challenge! In this task, you will create a simple pizza ordering system that calculates the total cost based on a customer’s choices. This is a great way to practise input handling, selection (if statements), and

The post Build Your Own Pizza – Price Calculator first appeared on 101 Computing.

]]>
Estimating Pi Using Coprime Numbers https://www.101computing.net/estimating-pi-using-coprime-numbers/ Wed, 29 Apr 2026 12:45:10 +0000 https://www.101computing.net/?p=22137 Did you know you can estimate the value of π (pi) using probability and number theory? This challenge explores a surprising mathematical relationship: The probability that two randomly chosen integers are coprime, is equal to Coprime numbers? Two numbers are

The post Estimating Pi Using Coprime Numbers first appeared on 101 Computing.

]]>
Pygame Animations using a Spritesheet https://www.101computing.net/pygame-animations-using-a-spritesheet/ Fri, 24 Apr 2026 13:57:09 +0000 https://www.101computing.net/?p=22126 In this tutorial, we will learn how to animate a character in Python using the Pygame library and a spritesheet. Instead of loading lots of separate images to animate our main sprite/character, we will use one single image containing multiple

The post Pygame Animations using a Spritesheet first appeared on 101 Computing.

]]>
Extracurricular Activity Selector https://www.101computing.net/extracurricular-activity-selector/ Fri, 20 Mar 2026 13:16:06 +0000 https://www.101computing.net/?p=22120 A high school teacher needs your help! They have been asked to organise a full set of registers for students to take part in some extracurricular activities organised by the school. There are 100 students in the year group, and

The post Extracurricular Activity Selector first appeared on 101 Computing.

]]>
The Goldbach Conjecture (Python Challenge) https://www.101computing.net/the-goldbach-conjecture/ Thu, 19 Mar 2026 14:06:16 +0000 https://www.101computing.net/?p=22116 The Goldbach Conjecture is an unproven mathematical rule, proposed by Christian Goldbach in 1742, stating that every even integer greater than 2 is the sum of two prime numbers. Despite verification by computers up to 4 x 1018, no formal

The post The Goldbach Conjecture (Python Challenge) first appeared on 101 Computing.

]]>
Estimating Pi using the Basel Problem https://www.101computing.net/estimating-pi-using-the-basel-problem/ Fri, 13 Mar 2026 11:44:33 +0000 https://www.101computing.net/?p=22114 The Basel Problem In the 17th century, mathematicians became fascinated by an infinite series known as the Basel Problem. The question was simple to state but extremely difficult to solve: What is the exact value of the following infinite series?

The post Estimating Pi using the Basel Problem first appeared on 101 Computing.

]]>