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

what is the historical circumstance for the third amendment?
What groups were excluded from this widening of political opportunity? Why?
In the Southern subregion of sub-Saharan Africa, which country is mainly covered by the Kalahari Desert?
The range of the function f(k) = k2 + 2k + 1 is {25, 64}. What is the function’s domain?
Climate change studies suggest the worst impacts will be felt by the wealthiest people. (Points : 1) True False
Which accurately describes a letter written during the time a historical event occurred?
If the force experienced by a positively charged balloon is 2.7 newtons and the electric field strength is 7.8 × 105 newtons/coulomb, what is the magnitude of t
help!!!! 1. A material that can be hit without shattering is? viscous, flammable, hard, malleable 2. At room temp., a substance with a melting point of 40% C is
Money managers: A. help people set up budgets to control personal spending. B. typically work for investment banks. C. are on the sell side of Wall Street. D
how did geography influence the location of European colonies?