Solving problems by hand is the first step in being able to write your own programs. In this example we define a problem, work through the solution and then show how an algorithm is created using the solution, and present the final python code.
____________________
Length: 9 Minutes
Difficulty: Easy
Modify the program that there are now 3 tile colours, [Black, Grey, White]. Remember, the first and last tile should always be black. Click on the instructions table for more information.
In this challenge we present a problem and provide you with all of the information you need to solve it by hand, and to produce an algorithm which can then be coded in python.
____________________
Length: 5 Minutes
Difficulty: Easy
In this challenge we present a problem and provide you with all of the information you need to solve it by hand, and to produce an algorithm which can then be coded in python. Use the interactive code section below to test your solution.