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 do you do when you smell brownies?
Which of the following is a condensed structural formula of propane A). C3H8 B). CH3CH3CH3 C). CH3CH2CH3 D). CH3CH2CH2CH3
378/294.34, do I get a 3 sig fig answer or a 5 sig fig answer?
Calculate the mean, median, and range of the data in the dot plot. Show/ Explain your work.
According to the Constitution, the power of the federal government to control immigration is what type of power the seizure the legal property of arrested crim
Please help meeeee What does Carter mean when he says conservation is “the cheapest source of energy”? A. Energy that is not used does not have to be paid for.
Help me on this problem please!
Sport organizations now seek to make money from “rights fees” paid by
Authors often use imagery to help establish the mood of a piece. Which of the following offers the best example of this in The Bean Trees? A. "He's got warts
What event helped lead to the formation of labor unions? How do you think labor unions affected the availability of jobs? Explain.