Share your repls and programming experiences

← Back to all posts
My infinite circle
NathanSurette (1)

This thing is literally just copying and pasting but i thought that it looked cool

Commentshotnewtop
poetaetoes (284)

also idk why you put the turtle.Screen() when you didnt use it

poetaetoes (284)

this is a circle

import turtle

t = turtle.Turtle()

for i in range(100):
  for j in range(18):
    t.forward(10)
    t.left(20)
poetaetoes (284)

@poetaetoes you see, it draws a circle 100 times

poetaetoes (284)

@poetaetoes compare

import turtle

t = turtle.Turtle()

for i in range(100):
  for j in range(18):
    t.forward(10)
    t.left(20)

to this

import turtle
Nixc = turtle.Turtle()
Canvas = turtle.Screen()

#first square
Nixc.shape("turtle")
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
Nixc.forward(100)
Nixc.right(85)
poetaetoes (284)

@poetaetoes big difference right?
i have short code, to draw 100 circles, while u have like 200 lines to draw a pretty simple thing

poetaetoes (284)

first, its not even a circle