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

how does respecting others feelings influence communication
Which sentence in this excerpt from Ethan Frome by Edith Wharton uses a simile? She laughed with pleasure, her head tilted back, the lamplight sparkling on her
What two numbers multiply to 15 and add to 6
Which president supported the creation of the Environmental Protection Agency? a. Richard Nixon b. Lyndon Johnson c. Jimmy Carter d. Gerald Ford
how do you convert 0.5 into a fraction
2/6 hour= how many minutes
express 245 as a product of its prime factors
What aspect of the experience of train travel are the sound devices in train tune meant to imitate?
facts about the greek genre theatre comedy. BE CREATIVE!!
The levels of usage can be classed as intimate, conference, frozen, _____. formal, and casual context, and usage advertising, and professional