The Len Function This function is extremely useful and often comes up in coursework tasks. It is used to work out how many characters have been used in a string or another type of object. Look and run the code below to see a simple example. TASK Try this for yourself by editing the more »
The makers of Minecraft, Mojang have released a free version of the game for the Raspberry Pi. We will be using this in our classes to help students develop their skills in Python. Before starting these tutorials, students would first have to have some knowledge of how to use Python. Tutorials coming soon!
An If statement is a control structure. We use if statements to programme an automatic response from a computer. Think about an every day device such as a fire alarm in your house. An if statement is programmed into the device memory to beep loudly if it detects carbon monoxide. Look at the flow chart below. more »
This first lesson in the series looks at how to set the raspberry pi up and gets students started with a basic challenge of making an LED flash.For this lesson you will need: An LED A resistor Some breadboard jumper wires (You will need to focus on check the voltage required for your LEDs and more »