def pentagon() { repeat(5) { forward(100) right(72) } } cleari() setSpeed(superFast) repeat(180) { pentagon() right(2) }