Your weight is a measure of the amount of gravity exerted on your body by the planet Earth. On planet Earth, gravity has a value of 9.81 N/Kg (Newtons per kilogram). Because the Moon has about one-sixth of the gravity…
Lissajous curves are a family of curves described by the following parametric equations: Lissajous curves have applications in physics, astronomy, and other sciences. Below are a few examples of Lissajous curves that you will be able to reproduce in the…
Honeycomb is a structure of hexagonal cavities (cells of wax), made by bees to store honey and eggs. In this challenge we will use a set of iterative algorithms to draw a honeycomb pattern. First, we will create a function…
Your task is to design an algorithm used to create a Sudoku Grid. The generated Sudoku grid should have enough clues (numbers in cells) to be solvable resulting in a unique solution. Sudoku? A Sudoku game is number-placement puzzle. The…
The aim of this challenge is to create a quiz based on the list of chemical elements of the periodic table based on the following requirements: The quiz will include 10 questions. Each question will display the name of an…
In this challenge we will implement a small Python program to: Ask the user to enter a 3-letter airport code (e.g. LHR) for one of the top 20 busiest airports in the world. Output the full name of the airport…
For this challenge we will create a program to be used by a teacher at a start of a lesson to take the register. The program will go through a class list and for each pupil in the list, will…
A polygon is a plane shape (2D) with straight lines. It consists of vertices and edges. A polygon is regular when all angles are equal and all sides are equal. For instance a regular pentagon consists of 5 vertices and…
The shoelace formula or shoelace algorithm is a mathematical algorithm to determine the area of a simple polygon whose vertices are described by their Cartesian coordinates in the plane. The method consists of cross-multiplying corresponding coordinates of the different vertices…
Computers are often used to sort large amounts of data. Though this may seem like a simple task to complete, a lot of research has focused on finding the most effective algorithms to sort large amount of data. Four of…