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

Which point lies on the circle represented by the equation (x + 5)2 + (y − 9)2 = 82?
Vaughn Manufacturing received a check for $24480 on July 1 which represents a 6 month advance payment of rent on a building it rents to a client. Unearned Rent
What is the side lengths of volume=343 cm and side lengths of 729 cm
A country reported a nominal GDP of $100 billion in 2015 and 75 billion in 2014 and reported a GDP deflator of 125 in 2015 and 120 in 2014. What happened to rea
Someone please help me
Suppose the marginal damage and marginal benefit curves in a pol- luted neighborhood are MD = P/3 and MB = 4 – P. Also, suppose that transactions costs are low,
John borrowed $150,500 to start up his business. He borrowed the money at a 7.75% simple interest rate for 2 years. How much does John have to pay back at the
Solve for x -5(-2-5)-x-1=-12
4Fe +302 + 2Fe2O3 How many grams of Fe2O3 will be produced from 10.0 g of Fe and 7.00 g of O2?
Which action did President Ronald Reagan support to achieve economic growth as part of Reaganomics? a. Lowering taxes on corporations and individuals b. Cuttin