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 solution ? Please help with this !!
If you asked students to describe the Golgi apparatus on an exam, you would deduct points if a student described it as________.
1. What is the solution to the equation -5(s - 30) = -10?
How many solutions does the system of equations have 4x+2y=-8 2x+y=4 explain your answer
An orange loses 1.2 kJ of heat as it cools per °C drop in its temperature. What is the amount of heat loss from the orange per °F drop in its temperature?
Vector A is 3.00 units in length and points along the positive x-axis. Vector B is 4.00 units in length and points along the negative y-axis. Use graphical meth
What is the quotient? 212,960 - 1000 o 2.1296 21.296 212.96 0 2129.6
Pure chlorobenzene (C6H5Cl) has a normal boiling point of 131.00 °C. A solution of 32.5 g of 2,8-dibromodibenzofuran (C12H6Br2O) in 195 g of chlorobenzene has a
Which of the following languages is influenced by the language spoken by the ancient Romans? A. English B. Russian C. Portuguese D. Greek
Earthquakes, volcanoes, and landslides can displace large volumes of water in the ocean and trigger which of the following natural disasters? a. Mass wasting b.