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

Divide 5 in the ratio 13:7
What is the relationship between gross pay and net pay? A. Gross pay is less than net pay. B. Gross pay is more than net pay. C. Gross pay is the same as net pa
What is the name of synthetic analogue of wool?
Douglass describes his intoduction to slavery as "the bloodstained gate, the entrance to the hell of slavery." Based on this statement, what is douglass's attit
WHY was Henry Hudson exploring the Arctic Ocean?He was looking for a route to the east.He was claiming territory not under Spanish claims.He was avoiding the Sp
Ways to prevent ostioporosis
an exponential growth function represents a quantity that has a constant halving time. True or false?
What's the difference between problem and trouble?
Who developed the germ theory for disease? Robert Koch Marie Curie Albert Einstein Louis Pasteur
Find the range of the given data set 5/8, 3/4, 1 1/8, 1 1/4 1 1/8 5/8 3/4