+ 2

What do you think of this circle of squares?

This is my code of a challenge I got form Clever Programmer. And I wanted to know what you guys think of my solution for it. CHALLENGE: Make a square of circles. Code: import turtle t = turtle.Turtle() t.speed(0) def square(x,y): t.forward(x) t.right(y) t.forward(x) t.right(y) t.forward(x) t.right(y) t.forward(x) for inclination in range(100000): square(100,90) square(0,90+1)

1st Dec 2016, 8:28 PM
Felipe Silva
Felipe Silva - avatar
2 RĂ©ponses
+ 16
It sucks that SoloLearn's Code Playground can't run the turtle module 😭😭😭😭💔💔💔💔
11th May 2017, 8:35 AM
Pao
Pao - avatar
0
you want to make a square from circles, not a circle from squares, you misread the challenge
26th Dec 2016, 11:52 PM
Amaras A
Amaras A - avatar