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

Which southern African country has the highest percentage of Christian inhabitants in the region? A) South Africa B) Botswana C) Namibia D) Zimbabwe
HOW MANY CO2 MOLECULES IN IN 0.0180 MOLES OF CO2
Which action was the effect of sit-ins and boycotts in South Carolina? A)They helped desegregate public places such as lunch counters. B)They had little effect
German scientists were concerned about Nazi restrictions on uranium sales because
The pH scale is used to express the concentrations of hydronium ions and ____ ions in solutions. a.) carbon b.) potassium c.) hydroxide
What are the steps to make "y=(x+2)^2-5"graphable?
Kelly uses a building block to create the top of a tower. The front face of the building block is shown. The block is in the shape of a trapezoid with height 8
How to work out a percentage of a price
Forces of 420 kg and 300 kg act on an object. The angle between the forces is 50°. Find the resultant, giving the angle it makes with the larger force.
how did World War II affect life in Japan