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

Alfredo is shopping at a hardware and furniture store read his request to the store manager and select the room he is most likely remodeling alfredo quiet pun l
Let g(x) be the reflection of f(x) in the x-axis. What is the function rule for g(x)? Let g(x) be the reflection of f(x) = 3x + 12 in the x-axis. What is a func
Find all possible value or value of in the quadratic equation 2n^2-7n+6=0
Of mice and men major conflicts and obstacles?
This one, I have no clue so please help. Thanks!
A scientist wants to estimate the number of roads living near a lake. On Friday she catches 90 toads and tags them. She releases the toads. On Saturday she cat
Which of the following properties of an object determines its terminal velocity when the object falls toward the Earth? a. shape b. weight c. mas
Identify the following series as arithmetic, geometric, both, or neither. 2x + 2x² + 2x³ + . . . + 2xn
A carmaker has designed a car that can reach a maximum acceleration of 12 meters per second the cars mass is 1515 assuming the same engine is used what should t
What are the coordinates of the point that is 1/6 of the way from A(14, −1) to B(−4, 23)? A) (11, 3) B) (5, 11) C) (8, 6) D) (−1, 19)