
Learning Objectives:
By completing this challenge you are going to further improve your skills at using:
- Selection structures (using If statements),
- Comparison operators (<, <=, >, >=, !=, ==)
- Boolean logic (AND, OR) when using comparative operators
You may want to use our Python Cheat Sheet to complete this challenge looking especially at the section called “If Statements” and the section called “Comparison Operators”.
Your Challenge
Create a user friendly program that asks a user to input their exam score out of 60 marks. The program should output the grade that they have received using the grade boundaries listed in the table below.
| Mark | Grade |
| 54+ | A* |
| 48 – 53 | A |
| 42 – 47 | B |
| 36 – 41 | C |
| 30 – 35 | D |
| 24 – 29 | E |
| 0 – 23 | U |
The program should also tell the user how many marks they are away from the next grade up.
Your Python code…

Solution...
The solution for this challenge is available to full members!Find out how to become a member:
➤ Members' Area
In this blog post we are looking at a specific painting from Victor Vasarely. The painting is from a serie of paintings called “Alphabet Plastique” and was painted in the 70’s.






The aim of this challenge is to create a simplified game of Poker Dice using only three dice.
For this challenge we are investigating how barcodes are produced. Though there are different standards to produce barcodes, they all follow a similar approach based on binary code!
Can computers produce artwork? In this challenge we are looking at how to write a piece of code to generate a “pretty” graphic.



