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

why are people in favor of unemployment
In what year was the first Thanksgiving Day celebration held? a) 1610 b) 1789 c) 1621 d) 1690
The charge and identity of an ion with 16 protons, 18 electrons and 17 neutrons would be?
#1: A concentration in terms of volume/volume is used to describe which of the following types of solutions? A. solutions with a solid solvent and a solid
Jonah cuts a board that is 33 inches long into 4 pieces of equal length. He uses the pieces for the sides of a picture frame. He puts an extra 2 inch wide trim
A package of tickets for 4 home games cost $180 . What proportion can you write to find what a 12 -game package cost if all individual tickets have the same pri
Show me how to solve math word problems
a store has a sale on books. The price is 17.55 for one book, 16.70 each for 2 books, 15.85 each for 3 books, and $15 each for 4 books. If the pattern continues
Find two different fractions whose sum is equal to 1
Translate the expression 5x - 7. five times the difference of a number and 7 the difference of five times a number and 7 the sum of 5 and a number minus 7