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 escape velocity​
yo dudo que tus amigos____ la cultura de mi pais
Check all of the items that are cycled through the biosphere in biogeochemical cycles.
If the length of the 45° regionof this circle is 10 inches, whatis the radius of the circle?asap pls​
Evaluate the expression for x = 8, y = 4: x + 10/y+5
Came vested all in white, pure as her mind; metaphor, simile, or personification.
Please help me with this.
Jules buys a washing machine. 20% VAT is added to the price of the washing machine. Jules then has to pay a total of £600. What is the price of the washing mach
1. Determine the inventory on June 30 and the cost of goods sold for the three-month period, using the first-in, first-out method and the periodic inventory sys
The initial velocity of a car moving along a straight path was 0 meters/second. After 10 seconds, it reached a velocity of 25 meters/second. Calculate the car’s