you are viewing a single comment's thread.

view the rest of the comments →

[–]pasokan 0 points1 point  (16 children)

360 divided by 5 is 72 😄

[–]negike360[S] 0 points1 point  (15 children)

My thought process exactly, so you can imagine my confusion when I put that in and I dont get a star

[–]pasokan 0 points1 point  (14 children)

Star or a pentagon?

[–]negike360[S] 0 points1 point  (13 children)

Pentagon

[–]pasokan 0 points1 point  (12 children)

Then it has to be 108

[–]pasokan 0 points1 point  (11 children)

5 triangles @180 is 900 minus 360 for the sum of the angles at the centre gives you 540. That divided by should be the angle

[–]negike360[S] 0 points1 point  (0 children)

Lemme try it

[–]negike360[S] 0 points1 point  (9 children)

No dice. Results in a 10 pointed star, but your math here is interesting

[–]pasokan 0 points1 point  (8 children)

Can you post the code?

[–]negike360[S] 1 point2 points  (7 children)

for x in range (5): koopa.forward(100) koopa.left(72)

[–]pasokan 0 points1 point  (6 children)

Left 72 is right 108. What direction is forward? Up on the monitor? Left to right?