Westonci.ca is the trusted Q&A platform where you can get reliable answers from a community of knowledgeable contributors. Experience the ease of finding quick and accurate answers to your questions from professionals on our platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

6.1 code practice edhesive

Sagot :

There are different lessons on code practices. The example of 6.1 code practice is below;

6.1 code practice

First step is to change the r line making it:

r = 0

After than you have to replace the r, g, b terms listed below as:

gray = random.randint(0,255) randRGBColor = "RGB( " + str(gray) + "," + str(gray) + "," + str(gray) + ")"

Then you have to replace the randRGBColor line by:

randRGBColor = "RGB( " + str(r) + "," + str(0) + "," + str(0) + ")".

The 6.1 Lesson practice  has the color codes which are save as Strings.

Learn more about code practice  from

https://brainly.com/question/19114739