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

How many $0.21 pencils can be purchased for $7.00? Show your work.
can humans cause a imbalance in the food chain
Write a newspaper headline about the Boston tea party from the points of view of a loyalist and a patriot. Explain your headlines.
If x=3 and y=-2 and z=4, what is the value of 3x + 2y - z?
what is tn=6n-9.5,t15
Which words in the sentence are the appositive? Which words does the appositive rename? The author Charles Dickens wrote some of the best-loved novels of all
what is tn=6n-9.5,t15
select difference of (8x2-3x3) - (2x2-5x3)
If x=3 and y=-2 and z=4, what is the value of 3x + 2y - z?
write the ratio as a fraction in simplest form. 16ft to 6yd