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

the midpoint p of line segment joining the points A (-10,4) B (-2,0)liea on the line segment joining the points C (-9,-4)D (-4,y ) find the ratio in which Pdivi
what does autism mean?
what best defines a chancellor
Which sequence of transformations would result in a figure that is similar, but not congruent, to the original figure? Select all that apply. A.a dilation with
Rida and Elisa are each paid by the hour rida worked 5 1/2 hours and earned $77 Elisa worked 3 3/4 hours and $60 whose hourly rate is greater
what is the mass of an atom with 15 neutrons and 13 electrons ?
Diana invested $3000 in a saving account for 3 years. she earned $450 in interest over the time period. what interest rate did she earn? use the formula i=prt t
How do i turn a decimal and a percent into a fraction?
How many atp are generated in the electron transport chain?how many atp are generated in the electron transport chain?
Why are the gases in the troposphere layer denser than the gases in the other layers?