In this project, you’ll learn how to create 2 random teams from a list of players.
This project covers elements from the following strands of the Raspberry Pi Digital Making Curriculum:
Let’s start by creating a list of players to choose from.
program
:blank
variable is a plain white Picture. You can always use blank
as a placeholder in our programs.Create a variable to store a list of players. The list should be in square brackets [
and ]
, with a comma ,
between each item in the list: