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

use the graph to find the solution of the system of equations {y = x^2 + 6x + 8 {y = x + 4
Jesus instructed the apostles to travel how?
AP Psych The surprising ease with which people form false memories best illustrates that the processes of encoding and retrieval involve... A) implicit memory
if several pea plants with the genotype TTYy are crossed with pea plants with the genotype Ttyy what percentage of the offspring will be expected to have the
Define the term selectively toxic. why is it an important feature of antimicrobial agents
Which is a solution of the inequality? p 4 – 2(p – 10) > 0 a. 22 b. 29 c. 26 d. 24
life expectancy for calling birds is 2.4 years. The record for the oldest calling bird's life was 21 years old. How much older was the oldest bird than the aver
Explain how Gravity and Inertia work together to keep planets in orbit:
If y = 3x - 4 and the domain is {-3,-1,4}, find the range. A) {5, -7, 8} B) {-13, -7, 8} C) {-13, -6, 8} D) {-13, -7, 16}
when was benjermen Franklin born