z7ebbcvcnt z7ebbcvcnt
  • 03-03-2021
  • Computers and Technology
contestada

3.4 lesson practice quiz edhesive

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 08-03-2021

3.4 lesson practice quiz edhesive :

Write a program to check if user inputs "yellow"

Answer:

In Python:

col = input("Enter Color: ")

if col == "yellow":

   print("True")

else:

   print("False")

Explanation:

This prompts the user for color

col = input("Enter Color: ")

This checks if color is yellow

if col == "yellow":

If true, this prints true

   print("True")

If otherwise, this prints false

else:

   print("False")

Answer Link

Otras preguntas

Three of four numbers have a sum of 22. If the average of the four numbers is 8, what is the fourth number ?
Multiply. Write in simplest form. Identify the two whole numbers between which the product lies 5 x 6/8 and 2 x 9/10
describe how the body gets rid of cell wastes
the height of a man is 1.7 meters.what is his height in centimeters
What oceans and seas surround Africa?
How many letters are in the Hawaiian alphabet?
what is the formula of peroxide? a. SO3(2-) b. SO4(2-) c. O2(2-) d. OH(-)
Me need essay in the book ''lyddie'' Answer the question - Should Lyddie Sign the Petition? Need to write at least 3 paragraphs .... I need your help !!!!
Explain how you can tell, without computing, whether the quotient 1/2 ÷6 is greater than 1 or les than 1.
Help me please with this question Circle the correct term that makes the sentence true. The (greatest, least) of the common factors of two or more numbers is th