jaylanpersaud jaylanpersaud
  • 03-11-2020
  • Computers and Technology
contestada

write a code to test if a number is equal to 89 or 78

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

number = whatever value you want

if number == 89 or number == 78:

   print("The variable number equals 89 or 78.")

else:

   print("The variable number does not equal 89 or 78.")

Answer Link

Otras preguntas

Does the scorpion without any young fights or runs away from the owl?
What is the _____ maneuver you ever tried at the skate park? Which form of the modifier risky correctly completes the sentence? most risky riskiest more risky r
Mrs. McGlashan is making paint for her class. She needs 3/4 cups of warm water for each batch. Part A. Mrs. McGlashan has a 1 cup measure that has no markings
What is the square root of pie?
What is the measure of ? Four-sided figure divided into four triangles. Triangle on top has angles labeled two, forty-one degrees, and one hundred twelve d
Which sentence is correctly punctuated? A. "Do you have the time?," she asked. B. "Do you have the time?" she asked. C. "Do you have the time" she asked? D. "Do
Which president supported the creation of the environmental protection agency
Before ascending the English throne in 1689, William and Mary ruled which country?
Which of the following is not part of the process of establishing credit? a. Opening a bank account b. Getting a credit card c. Taking out a loan d. Using a cre
Is the comma used correctly in this sentence Gorillas travel in packs, walk on all fours, and, sometimes stand upright.