The aim of this Python challenge is to validate a user input using a range check. In this program, the user will be asked to enter a star rating by entering a number value between 0 and 5. This could…
The aim of this challenge is to create a simplified game of Poker Dice using only three dice. The computer will generate three random numbers between 1 and 6. The program will then check to see if the three dice…
Shopping during the sales can sometimes be very confusing. With discounted prices at 10%, 20%, 50% or even 70%! For this challenge you are going to write a Python script that prompts the user to enter a price in pounds…
Degree Fahrenheit (°F) and Degree Celsius (°C) are the main two units to measure temperature. The Fahrenheit scale is used mainly in the USA whereas other countries tend to use the Celsius scale. It is possible to convert a temperature…
An algorithm is like a recipe in a cook book. It is a step by step set of instructions that the computer will have to follow to solve a problem or complete a task. Algorithms consist of step by step…
Did You Know? The 12-hour clock is a time convention in which the 24 hours of the day are divided into two periods: a.m. (from the Latin ante meridiem, meaning “before midday”) and p.m. (post meridiem, “after midday”). Each period…
In this challenge we will write a Python program to help us find out hold we will be in the coming years! We have designed the algorithm of our program using both a Flowchart and Pseudocode. Algorithm Reviewing the Algorithm…
The infinite quarter series is a series where each term is a quarter of the previous one: We can visually represent this series by dividing a canvas (or price of paper) into 4 quadrants and colouring in one quadrant (bottom…
Domain Name Servers (DNS) are the Internet’s equivalent of a phone book. They maintain a directory of domain names and translate them to numerical IP addresses. These IP addresses are used to identify and locate the web-servers on the Internet…
In this blog post we will create a Python program that will help us calculate the total resistance when two resistors are connected either in series or in parallel. This program will be based on the following formulae: Program Flowchart…