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

the westside bakery uses 440 pounds of sugar to make 1,000 cakes each cake contain the same amount of sugar how many pounds of sugar are used in each cake
the krazy kite company is planning to produce kites.the company has rented space for its manufacturing operation at $6,000 per month. each kite requires $37 wor
If you triple 4 and subtract 2 each day, how many days until you have zero?
Which is the slope of the line with equation 6x + y = 12?
Sam buys 10 oranges & 11 apples for $10.05. The total cost of 1orange &1apple is$0.94. How much does an apple cost
ending time: 10:08 am elapsed time: 30 minutes
If you triple 4 and subtract 2 each day, how many days until you have zero?
A(n)___ is divided into rows and columns. What goes in the blank?
Which number is between 0.5 and 8/9 A.25/36 B.1/3 C.22/24 D.7/24
Which is true of ultraviolet rays? They help your body produce vitamin D.They are visible to the naked eye.They provide the energy that makes your morning toast