clear for(i<-1 to 10) { val t=newTurtle t.left(i*20) t.forward(100) }