answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tema [17]
2 years ago
3

Ask the user to enter a number for red, green, and blue components of an RGB value, which takes a certain amount of red, green,

and blue colors and produces a new color. Test the numbers that are input by the user and check that each value is between 0 and 255 (inclusive). If a color's value is outside of this range, print which color's number is not correct (e.g., "Red number is not correct" if the red value is 300). Multiple colors may be out of range. The order of the colors should be the same as the sample runs below; red, then green, then blue.
Computers and Technology
1 answer:
levacccp [35]2 years ago
8 0

Answer:

11

Explanation:

You might be interested in
Pressing and holding _______ while clicking enables you to select multiple contiguous files or folders.
liq [111]

Answer:

Hi LizBiz! The answer is Ctrl key on Windows, or Command key for Mac.

Explanation:

The Ctrl (Windows) key or equivalent Command key on Mac has a special purpose which allows special operations to be performed when combined with another action, such as clicking on multiple pictures or files for selection.

8 0
2 years ago
PYTHON PROGRAMMING: At one college, the tuition for a full-time student is $8,000 per semester.
lozanna [386]

Answer:

Try :

Semester_Fee = 8000.0

for x in range(1, 6):

   import decimal

   Semester_Fee = Semester_Fee + Semester_Fee *(3/(100*1.0))

   if x==1:

       print("In",x,"year, the tuition will be" ,'$', Semester_Fee, end='.')

   else:

       print("In",x,"years, the tuition will be" ,'$', Semester_Fee, end='.')

6 0
2 years ago
Survey Q. Non-scoring: If you are working in a customer facing agile team, who is more mature/ready for Agile? (1 correct answer
fomenos

I think that 3 would be the correct answer

8 0
2 years ago
Read 2 more answers
(PYTHON HOMEWORK)Given the following code snippet, which statement tests to see if all three sets are equal?:
wariber [46]

Answer:

Option D is the correct answer to the following question.

Explanation:

The following option is correct because three sets type variable i.e., "fruit", "fruit2", "fruit3" has contain the same values in it and then they ask for the option is correct if the all are equal and in the option c, there is the if statement in which check the condition if the variable "fruit" is equal to the variable "fruit2" and the variable "fruit" is equal to the variable "fruit3".

so, that' why the following option is correct.

The option A is not correct because there is no equal function in python and we use the operator == to check the condition.

The option B is incorrect because we can see that there is not equal to (!=) operator.

The option D is incorrect because we can see that there is an or operator are used which means if any of the conditions is true then, they return either the other condition is false.

8 0
2 years ago
Use a basic list structure to enhance Functionality 1 that you developed in Week 1. You should allow users to enter information
grandymaker [24]

Answer:

Python code is given below

Explanation:

# Create an empty  list

employees = []

for i in range(5):

   print('Enter information for employee number ' + str(i + 1) + ':')

#entering the employee details as input

   name = input('Enter employee name: ')

   ssn = input('Enter employee SSN: ')

   number = input('Enter employee number: ')

   email = input('Enter employee email: ')

   salary = input('Enter employee salary: ')

   employees.append([name, ssn, number, email, salary])

index = int(input('Enter value from 1-5 to print employee information and 0 to exit:'))

while index != 0:

   employee = employees[index - 1]

   print(employee[0] + ', ' + employee[1] + ', ' + employee[2] + ', ' + employee[3] + ', $' + employee[4])

   print()

   index = int(input('Enter value from 1-5 to print employee information and 0 to exit:'))

7 0
2 years ago
Other questions:
  • Enter a formula in cell G5 that calculates the difference between the attendance totals for 2018 and 2017. Copy the formula to t
    6·1 answer
  • Which type of address is used at the transport layer to identify the receiving application?
    14·1 answer
  • Which situation best describes the prosumer effect?
    7·1 answer
  • Write a function that computes the average and standard deviation of four scores. The standard deviation is defined to be the sq
    15·1 answer
  • Assume a program requires the execution of 50 x 106 FP instructions, 110 x 106 INT instructions, 80 x 106 L/S instructions, and
    9·1 answer
  • What are some ways to accomplish full-duplex (FDX) digital communications on guided medium at the physical layer (OSI Layer 1)?
    7·1 answer
  • Why is it important for element IDs to have meaningful names?
    11·1 answer
  • The Coins class was created to hold all your loose change, kind of like a piggy bank! For this exercise, you are going to simula
    15·1 answer
  • I am doing keyboarding keyboarding is very boring and yeah
    12·2 answers
  • A Consider the following method definition. The method printAllCharacters is intended to print out every character in str, start
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!