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 were National and State Bank policies in the 1830's contributed to?
which statement describes every number that is a solution to the inequality 6t > 48? A) It has a value greater than 8 B) It has a value less than 8 C) It has
What is the prefix of active
13. (1 pt) Who was Hiram Bingham? A. a Harvard-trained archaeologist who first explored the Maya ruins at Tikal B. a Yale-trained explorer who first discover
13. (1 pt) Who was Hiram Bingham? A. a Harvard-trained archaeologist who first explored the Maya ruins at Tikal B. a Yale-trained explorer who first discover
two trains leave stations 408 miles apart at the same time and travel toward eachother. one train travels at 95 miles per hour while the other travels at 75 mil
by what length is is 0.5 m less than 10.05
13. (1 pt) Who was Hiram Bingham? A. a Harvard-trained archaeologist who first explored the Maya ruins at Tikal B. a Yale-trained explorer who first discover
An illegal drug stimulates the parasympathetic nervous system, causing the user to appear tranquilized. What could indicate to a paramedic whether or not the pe
1.How would you describe a person that wants to help his family ? 2. How would you describe a person that is hopeful?