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

why do you think the nation felt it was necessary to add the 25th amendment to the constitution when the practice of succession has already been established by
How can spell check be ineffective
If Mary has stopped her resistance training for three weeks, once she continues, she should _____.
Which statement best identifies what the debate revealed about modern presidential campaigns
Please help me guys A customer bought a car and paid $1,080 in sales tax. The tax rate is 6% What was the price of the car before the tax?
For the set C = (4,6,8,10,13), determine n(C)
You are buying materials to build a zip line between your house and a tree that is 45 feet away. You plan to connect the cable to the tree 30 feet above the gro
What is belief bias and what is the best way to avoid belief bias when making decisions?
Cassandra earns $40 per day in her first job and d dollars per day in her second job. Which expression represents the total amount Cassandra earns in 5 days?
How can spell check be an effective tool