top of page

PROGRAMMING CHALLENGES

Text Dice

Difficulty:

1 Easy

1.9 Lists

Topic:

Write a program that generates a random number and outputs the word "one", "two", "three", "four", "five", or "six" without using conditionals.

Use a list to store the words and index it with the random number.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page