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

Gary has a chromosomal deletion and Heather has a chromosomal insertion. Which best describes which disease each may have? Gary might have DiGeorge syndrome and
The Diary of Anne Frank. In her diary Anne writes: "There's in people simple an urge to destroy, an urge to kill, to murder and rage..." and "in spite of everyt
Round each number to the nearest tenth. What is the best estimate for the answer to 26.73 89.42?
which of these political system would have a supreme leader
how can you solve 6+4/5B=9/10b
The keystone to what Henry Clay called the American System was A. abolishing slavery. B. a low tariff C. encouraging British competition. D. a high tariff.
Why did the U.S. government remove Native Americans from the Southeast in the 1830s? The Supreme Court ruled that the Native Americans had violated treaty oblig
A tsunami is an unusually large wave caused by
can some one help how to work out this problem x-y=11 2x+y=19solve by substitution
an airplane travels 4000m in 16 seconds on a heading of 35 degrees. What is it's velocity