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

Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0
What were the major causes of WWII? Please include at least 4 answers.
what's another word for over thinking?
how do you write 4540 million in standard form?
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
What is the amplitude of y=1/2 sin2x
in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
what is a high structure part of a church which has 5 letters
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa