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

If (f + g)(x) = 3x2 + 2x – 1 and g(x) = 2x – 2, what is f(x)? 3x2 + 1 3x2 – 1 3x2 + 4 3x2 – 4 x2 – 2
When Mr. Whymper visited from the outside world, how did Napoleon hide the declining state of Animal Farm from him?
what caused the american revolution
Triangle RST was transformed using the rule (x, y) → (–x, –y). The vertices of the triangles are shown. R (1, 1) S (3, 1) T (1, 6) R' (–1, –1) S' (–3, –1) T
A wave is incident on the surface of a mirror at an angle of 41° with the normal. What can you say about its angle of reflection? a.)It is less than the angle
Please Help Thank you
The transferring of electrons keeps ______________ bonds together.
Solve the equation for x. x2 = 100
What 1989 event symbolized the end of the cold war
If you're a Gestalt psychologist, you will be most interested in A. how conditioning determines behavior. B. locating unconscious influences in neurosis.