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

Maria is concerned because she has been exposed to a small amount of radiation during an X-ray. What is her doctor most likely to tell her
A clown bought 6 bags of round balloons with 24 balloons in each bag
Marty has a fenced yard in the shape of a rectangle. it's area is 635.4 square feet. The width of the yard is 18 feet. Whatis the length of the fence?
which layer of rock is exposed to only a relatively moderate amount of heat from magma
Three times geoffs age plus 3 is myrkas age. myrka is 48. what is geoffs age?
How did Columbus and Coronado,being entrepreneurs how did it help them make their expeditions possible?
What does the design of the UN flag mean?
a seamstress has a piece of cloth that is 3 yards long. she cuts it into shorter lengths of 16inches each. how many shorter pieces can she cut
Simplify the radical expression. The square root of 144.
Write a division problem that has a 3 digit dividend and a divisor between 10 and 20