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

transportation of seedling is not done for1 rice 2 maize 3 onion 4 brinjal ​
Which of the following phrases best defines the word software? A. an object that orbits the Earth B. a set of radio waves that are used to determine distance c.
The base of an isosceles triangle is half as long as each of the two equal sides. Write the area of the triangle, A(x), as a function of the length of the base,
1PLEASE HELP!!! Need to finish
Which of the following sentences has a Nonessential clause?
Describe the stage of product design
A city has 5 new houses for every 9 old houses. If there are 35 new houses in the city, how many old houses are there?
A notary signing agent wants to stand out from other nsas by guaranteeing to borrowers and contracting companies that all of her loan signings will take 30 minu
Please help!! Need help asap.​
Craig went bowling with $25 to spend. he rented shoes for $5.00 and paid $4.00 for each game. What was the greatest number of games he could have played? A. 5