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, 22.06.2019 02:50
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
What is one potential problem associated with an organization purchasing new technology early in its lifecycle
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, 26.10.2020 19:10
question
English, 26.10.2020 19:10
Questions on the website: 13722360