Tag: Python

RGB Converter

Did you know that every colour on the screen can be represented using an RGB code (Red, Green, Blue) code. This code consists of three numbers between 0 and 255, indicating how much red, green and blue are used to

Binary Converter using Python

Did You Know?Everything that is stored on a computer is stored as binary code. Binary code is made of bits (0 or 1). We often use Bytes to store data. A Byte is made of eight bits and can be

Which Season?

Did you know?: Though we all agree that a calendar year is divided into four seasons, people sometimes disagree on the dates when these seasons start or finish. Many bodies, for example meteorologists, adopt a convention for the purpose of

Love Match Calculator

For this challenge we will write a program that will prompt the user to enter two first names. The program will then calculate and return a Love Match Score based on the following criteria: Criteria Score Both first names have

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

My Login Script

A lot of computer systems rely on the need for the user to login using a username and password. This form of authentication is used to uniquely identify a user and give them access to the relevant information on the

What’s My Change?

Your Challenge Using either Python or HTML + JavaScript, write a program that prompts the end-user to enter two values: Value 1: Amount to be paid by the customer Value 2: Amount received from the customer The program should then

Pygame Tutorial – Adding More Sprites

This tutorial is the fourth tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More

3D Traffic Lights

Did you know? An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints. A burglar alarm, an in-car cruise control system, a speedometer on a bike, a

3D Lego Bricks

In this blog post we will use Glowscript to create a 3D animation representing the various Lego bricks. Our aim is to recreate bricks by joining several cubes and cylinders (studs) together. We will then create a compound object to