Tag: Python Challenge

Word Score Challenge

Did you know? The ASCII code (Pronounced ask-ee) is a code for representing English characters as numbers, with each character assigned a number from 0 to 127. For example, the ASCII code for uppercase M is 77. The extended ASCII

Name the colour

Computer programmers, web-designers, graphic designers often have to choose specific colours to design eye-catchy user interfaces. To do so they use colour codes which are used to uniquely identify each of the 16 million colours available on the RGB colour

My thesaurus

Your English teacher has asked you to write a description of your favourite imaginary pet. They want you to use plenty of adjectives in your description and suggest that you use a thesaurus to find synonyms to use in your

Where are you calling from?

Have you ever received a phone call from an unrecognised number and wondered who was calling and where is the person calling you located? Did you know that, in the UK, for landline phone numbers (not mobile phones), the first

My Weather Forecast

Learning Objectives In this challenge we are going to use selection blocks to display a weather forecast report. Selection blocks uses if, elif and else statements to decide which block of code to run. if statements use comparison operators to

Year 2050

Have you got any idea how old you will be in 2050? By completing the following challenges we will write computer algorithms for the computer to tell us more about our age in the future! Getting Started First you will

Lottery Numbers

In this challenge we are going to write a Python program that automatically generates six random numbers (from 1 to 50) and display them on the screen, sorted in ascending order. The program will need to make sure that each

Fruit Machine

Learning Objectives In this challenge you will complete a full Python Program to simulate a fruit machine. You will use the random library to randomly select a fruit to display on screen. You will use if statements to check if

UK Postcodes – Distance Calculator

Challenge Your challenge is to write a Python program that asks the end-user to enter two valid UK postcodes and in return displays the distance in miles or km between those two postcodes. To complete this challenge you will first

Molecular Mass Calculator

Learning Objectives In this challenge you will improve your string manipulation techniques as well as use Python to perform some basic mathematical calculations. Did you know? The molecular weight (mass) may be calculated from the molecular formula of the substance;