Tutorials index

Blockly Coding Tasks

Example 4
This will give the correct output but be marked as wrong!
(This is due to the way the marking program has saved the temp in Celsius variable outside the function and then the function returns another value.)
Function Example

<< Back

Coding tasks - Intro
Recommended practice
Functions, Procedures and Subroutines

Example 1
Example 2
Example 3
Example 4

Tutorials index



The Raspberry Pi Foundation runs the UK Bebras Challenge. Discover free teaching resources, tools, and expert support for computing education at raspberrypi.org.