Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make random colors in python turtle

import turtle, random
colors = ["green","brown"]
theColor = random.choice(colors)
turtle.color(theColor)
 
PREVIOUS NEXT
Tagged: #random #colors #python #turtle
ADD COMMENT
Topic
Name
5+8 =