Code Sketch


26 jan mulvery
By: Mulvery Convent School
Category: Art
cleari()
setSpeed(medium)
setPenColor(black)
def square(n: Int) {
repeat(4) {
forward(n)
right()
}
} //> def square(n: Int): Unit
repeat(3) {
    setFillColor(orange)
square(200)
setFillColor(white)
square(140)
setFillColor(green)
square(60)
forward(200)
}
hop(50)
setPenThickness(4)
setPenColor(cm.darkBlue)
write("CELEBRATING 74 YEARS OF REPUBLIC")