Question: import turtle import random wn = turtle.Screen() wn.bgcolor(light blue) wn.title(Turtle) s = turtle.Turtle() s.color(red , blue) r = random.randint(100, 255) g = random.randint(100, 255) b

import turtle import random wn = turtle.Screen() wn.bgcolor("light blue") wn.title("Turtle") s = turtle.Turtle() s.color("red" , "blue") r = random.randint(100, 255) g = random.randint(100, 255) b = random.randint(100, 255)

def cicfunc(size): for i in range(9): #random=("red" , "blue" , "green") s.fd(size) s.right(90) size = size-25

cicfunc(14) cicfunc(120) cicfunc(16) cicfunc(18) cicfunc(66) cicfunc(65) cicfunc(62) cicfunc(5) cicfunc(98) cicfunc(63) cicfunc(61) cicfunc(65) cicfunc(65) cicfunc(65)

Hello this is a project for the beginning of python(intro to CS) , where we have to make 2d shapes that are repeating with different colors. using the RGB system, I have wrote this ode, but don't know how to make the squares have different colors using RGB system, and also to modify pixels in images. Please help thank you.

the only thing missing is to make the squares have different colors using the RGB system.

Here are the instructions:

Use the RGB system to create colors in graphics applications and modify pixels in images

Perform simple transformations of images, such as conversion of color to gray-scale

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!