Tag: Python Challenge

Word Score Challenge

word-score

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

paint-buckets

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

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?

phone

Learning Objectives By completing this challenge you will further improve your file manipulation techniques. If you cannot remember how to open and read through a text file or CSV check our blog post about “how to access text files using

My Weather Forecast

rainbow

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

calendar-clock

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

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

fruitmachine

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

haversine

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

molecule

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;