subject

Ineed to know how to input this into python on zybooks. i've been stuck on this for days and i keep running into "invalid syntax" or "unknown word red" summary: given integer values for red, green, and blue, subtract the gray from each value. computers represent color by combining the sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other words, equal amounts of red, green, blue yield gray). given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80 find the smallest value, and then subtract it from all three values, thus removing the gray.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
You know the right answer?
Ineed to know how to input this into python on zybooks. i've been stuck on this for days and i keep...
Questions
question
Mathematics, 29.10.2019 03:31