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

a form of reasoning called___ is the process of forming general ideas and rules based on your experiences and observations
lee watched as Mira started the car. as the car pulled out of the driveway, lee saw instead a little girl on a bicycle, smiling and yelling behind her, don't le
The ratio of X's to O's is 15 over 6. . Use the image below to determine another ratio for X's to O's: Image with 15 Xs and 6 circles. The 15 Xs are broken down
Read the poem "The Mountain" by Emily Dickinson, The mountain sat upon the plain In his eternal chair, His observation omnifold, His inquest everywhere The seas
when there is smoke then the moon colour will be what?
What is the solution to this system ? A. 4,-3 B. No solutions C. 1,0 D. 0,1
How important is peer pressure to the way we see ourselves and others. Write a paragraph.
Who possessed the right of suffrage in early American history, and how did this change during the time of Jackson?
Evaluate 7y - 5x^2 when x =2 and y=3
Write the sentence as an inequality. A number n plus 7 is less than or equal to 9. The inequality is