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

Use technology to approximate the solution(s) to the system of equations to the nearest tenth of a unit. f(x)=x^2+4/4x+3 g(x)=|x+4|
evaluate using the order of operation 3/4+5/6÷2/3
Why was the Vietnam War called the first "living room war"?
I need help. what is 9x12+16-22?
I need help this homework
A milestone can be a deliverable but it need not be. true or false
2 fields of a state park are 1,200 meters from each other. On a map the 2 fields are 8 cm apart what scale is the map using
Solve the system using substitution. Write the solution as an ordered pair. (1 point) SHOW YOUR WORK FOR FULL CREDIT! (2 points) -5x + y = -1 y - 4x = -3
What name was given to the side of World War I that the United States eventually joined? A. The Allies B. The Central Powers C. The Patriots D. T
Please answer this questions where were you when my leaves got dried? Where were you when my fishes were killed? Where were you when my soil got eroded? Where