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

A projectile is thrown at an angle 30° from horizontal. Which statement about its vertical component of velocity is true?
Which European democracy held out in the face of relentless German attacks during the early years of World War II? A. Denmark B. Britain C. France D. Norwa
the biggest advantage of electronic texts is their_ A. objectivity B. credibility C. realiability D. accessibility
Which of the following statements best describes the general process of how laws are made in the United States? A law is created by Congress, signed by the pres
What is the solution to this inequality? x – 7 > –6 A. x > –13 B. x < –13 C. x < 1 D. x > 1
2x-y=y for x im not sure. Please help
An indirect proof assumes:
So confused about this.
how do I solve this 4 (2x-15)+40=6 (x+5)
Joanie wants to improve her game. She trains hard every day. In which two ways can the sentences be correctly combined? Joanie wants to improve her game, she