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

choose the best decimal to represent 5 3/7
Find the area of the parallelogram.
Naomi and Sofia go to the movie theater and purchase refreshments for their friends. Naomi spends a total of $111.25 on 9 drinks and 8 bags of popcorn. Sofia sp
when you stretch a spring 13 cm past it's natural length, it excerts a force of 21 N. What is the spring constant of this spring?
What was Germany’s wartime strategy at the start of the war? Invade the United States, and then attack Russia. Invade Russia, and then overtake Austria. In
What did ratification of the Thirteenth Amendment mean for African Americans?
Help with 19 and 20 please thank you!
Why did Vernon J. Baker have to wait until 1997 to receive the Medal of Honor for his actions in World War II? A. Documents uncovering the importance of his dee
can you guys help me answer these!??
6. Write the following proportion using colons. 7 is to 21 as 3 is to 9. A. 7:21 = 3:9 B. 7:3 = 21:9 C. 21:7 = 3:9 D. 7:21 = 9:3