Tag: Flowchart

Flowchart to Python Code – Star Rating Validation

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

Flowchart to Python Code – Poker Dice Game

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

Flowchart to Python Code – Discount Price Calculator

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

Flowchart to Python Code – Temperature Converter

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

From Flowcharts to Python Code

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

Time Conversion Algorithm

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

How old will you be in…

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

Infinite Quarter Series

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 Server

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

Resistor in Series and Parallel

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