Tag: List

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

Blackjack Challenge


In this challenge you are going to create a blackjack game for one player. The computer will be the dealer. Rules of the game Source: wikipedia. “Blackjack, also known as twenty-one, is the most widely played casino banking game in

Battleship Challenge

Battleship Grid Initialisation Algorithm

For this challenge we are not going to recreate a full battleship game. Instead we are going to focus on randomly placing the ships on the grid using an algorithm. The code given below uses Python Turtle to draw the

Weather Forecast Report


This challenge consists of using Python to generate a random weather forecast report. Learning Objectives: By investigating this challenge you are going to further improve your skills at: Using lists and accessing values of a list randomly, Concatenating strings together