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

walter buys a bus pass for 30$. everytime he rides the bus money is deducted from the value pass. he rode 12 times and 24$ was deducted from the pass. how much
what evidence shows that sumerians where not prehistoric
Write five names for 64 .
What two numbers has a lcm of 50
What is this answer?10y=360°
How did geography influence the way the Incas ruled the empire?
Enzymes have many uses in home and industry.what type of organisms are used to produce these enzymes?Chose the correct answer from the following options:Mammals
What is larger 0.6 or 3/4 explain?
Suppose that a rectangle has a perimeter of 24 meters. Express the area A(x) of the rectangle in terms of the length x of one of its sides. A(x) = ??
Give 5 natural examples of unbalanced forces around us. Other than friction.