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

Please answer!!! This is due by tomorrow
there is like 2 more coming
HELP meeeeeeeeeeeeeeeeeeeeee
PLZ HELP ASAP!!!!!!!!!
arrange the elements in order of increasing atomic radius.MgBaFS​
O kim mowa: A. blondyn, szkicownik, ma prawo do zamku B. biurko, mrowisko, narzeczona Rejenta C. króliki, Różeczka, autorytet dla szlachty zaściankowej D. z
i really need help with this one
The strength of an acid depends on a. the number of double bonds b. the number of protons released c. the number of electrons gained d. all of the above
How was the country of israel created?
Can anyone help me figure out why my if statements are not executing properly? When the program executes with 7 as the value for num it should be executing the