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

Which expression is equivalent to (2x^2 + 4x - 7)(x - 3)?
Why did the basic labor system change after the war?
7 times as much as the sum of 1_3 and 1_4
According to the Financial Responsibility Law, if you are the owner or operator of a vehicle and you are at fault in a collision, you may be required to _______
_____ is a common nutrition-related sign or symptom of early pregnancy that occurs in many healthy pregnant women. question 19 options: fatigue hypertension ges
What are the risk of a retear of a rotator cuff surgery in a 55 year old man who is a diesel mechanic?
What organ is described as hollow and serves as a reservoir for urine until it passes from the body?
The probability of picking two black marbles from a box at random without replacement is 1091 . The probability of drawing a black marble first is 514 . Wha
_____ is a common nutrition-related sign or symptom of early pregnancy that occurs in many healthy pregnant women. question 19 options: fatigue hypertension ges
Factor the quadratic expression completely; -7x^2-24x-9