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 best explains the problem with installment buying ?
Write an equation of a line that is perpendicular to y = 6x + 3 that passes through (-6,4)
What is 13 - 12 1/2=
A car travels 120 miles in 3 hours (with a constant speed) How long will it take to travel 200 miles?
Which of the following was TRUE regarding the impact of Ancient Greek and Roman politics? It provided universal suffrage to all. It placed great emphasis on
when i got on the website it says it has error and its not working
3 ^ (2x + 1) =28 3^ x -9​
is it ethical to use selective breeding of farm animals for agriculture
1. How did early American agriculture compare to European and Asian agriculture? A. Early Americans began planting crops long before Eurasians did. B. Euras
What is 3/4 divided by 1/8