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

What is the range of the function graphed below? A. 1_ B. -3 C. -2_ D. -3_
pls give answers + work for these 3 questions asap!
PLZ HELP ILL GIVE BRAINLIEST!! DUE TODAY​
Can someone help me please !
healthy environment support for healthy and happy life.justify​
Use a table to aid in finding the product of (2x + 1) (x + 4)
MS. Potts washed 2/3 of her laundry. Her son washed 1/4 of it. Who washed most of the laundry? How much of the laundry still needs to be washed?​
"When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume a
250 percent of 18 is what? [please type an explanation]​
If you were preparing a speech on why athletes should eat healthy food, what types of evidence would you include? Use at least three of the four types of eviden