Sign In
Ask Question
Computers & Technology
Emery Conrad
28 June, 22:50
3.3 lesson practice edhesive
+5
Answers (
1
)
Baron Nixon
28 June, 23:39
0
The requirement can be found from the edhesive website, and it is to write a program to enter the value of RGB, and check whether its value is in between 0 and 255. The program should print out of range if its not within this (0 and 255). And it should print it is not right if it is below 0. The required program is as mentioned in explanation.
Explanation:
import time
green = int (input ("Input the value of Green: "))
red = int (input ("Input the value of Red: "))
blue = int (input ("Input the value of Blue: "))
if green < = 255 and red < = 255 and blue < = 255:
print ("Everything is correct.")
if red > 255:
print ("Red is not right.")
if blue > 255:
print ("Blue is not right.")
if green > 255:
print ("Green is not right.")
if red < 0:
print ("Red is not right.")
if blue < 0:
print ("Blue is not right.")
if green < 0:
print ("Green is not right.")
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Get an answer to your question ✅
“3.3 lesson practice edhesive ...”
in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers
You Might be Interested in
What differences in company culture would exist between an FBI agent and a mall security guard?
Answers (2)
What is the virtual width of a game? A. The width of the visible play area B. The width of the entire frame C. The speed of the scrolling D. The number of locked layers
Answers (1)
In the Filter Gallery, you will find folders of preset filters. Which of the below is NOT a folder in the filter gallery?* A. Distort B. Artistic C. Psychedelic D. Texture
Answers (1)
When you use an external style sheet with an HTML document, you get all but one of the benefits that follows. Which one is NOT a benefit of using an external style sheet?
Answers (1)
analyze the following code / /enter an integer scanner input = newScanner (System. in); int number = input. nextInt (); if (number < = 0) Syste. out. println (number);
Answers (1)
New Questions in Computers & Technology
To ignore all tracked changes in a document you should select the
Answers (1)
Write code that prompts for three integers, averages them, and prints the average. Make your code robust against invalid input; if the user types a non-number, re-prompt with the same prompt message.
Answers (1)
Netscape, which once controlled more than 80 percent of the market share in Web browsers, lost its dominant position when customers migrated to Internet Explorer, Microsoft's Web browser.
Answers (1)
Words or names defined by the programmer are called
Answers (1)
Using the spreadsheet below, which formula can be used to determine Albert's hourly wage? 2 1 Employee Hours Worked Amount Earned 2 Albert $101.50 Brandon 19 $147.25 Callie $164.45 Dora $157.
Answers (1)
Home
»
Computers & Technology
» 3.3 lesson practice edhesive
Sign In
Sign Up
Forgot Password?