Look at the code below to draw lines of beach huts.
Your task is to tweak the code used to draw the third line of beach huts. On this line we want the computer to choose random colours from the colour list – that’s already the case! However this time we want to make sure that we cannot have two beach huts of the same colour next to each other.
The canvas we are drawing on (using Python Turtle) is 400 pixels wide by 400 pixels high.
Look at the canvas below to understand how (x,y) coordinates work: