3D Square Spiro graph P.Dhanushraj | Coding is Easy on Tuesday, March 01, 2022 Get link Facebook X Pinterest Email Other Apps from turtle import * from random import randint bgcolor("black") x = 1 speed(0) shape("turtle") while x < 3000: r=randint(0,255) g=randint(0,255) b=randint(0,255) colormode(255) pencolor(r, g, b) forward(5 + x) right(90.99) x = x + 1 exitonclick() Comments
Comments
Post a Comment