Respuesta :

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