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

Can someone please help me with this? It’s due in an hour
What’s the correct answer for this?
PLEASE HELP WILL GIVE BRANLIEST, EXTRA POINTS! Jailah needs a replacement for lithium for a science experiment. She tries silicon, but it does not work. Using w
ten people are in a club and three are going to be on the “planning committee”. how many different groups of three people are possible?
The main responsibility of the reproductive system is the creation of new life. the development of secondary sex characteristics. the development of the later l
What is economic racism? OA. Something that causes financial inequality for certain ethnic groups OB. A stock market crash OC. Laws and policies that go agai
solve 3 3/5 x (-8 1/3)
Please answer !!!!!! Will mark brainliest !!!!!!!!
0.03x10 by the power of 5
Name two air pollutants that bioaccumulate