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 factor made the most difference in how agriculture affected the economies of the colonies?
If Walt can paint 25 feet of fence in an hour, and Joe can paint 35 feet in an hour, how many minutes will it take them to paint a 150-foot fence, if they work
The length of a diagonal of a cube with edge length 25cm
Jim’s allowance is $1.20 per week. Stan’s is 25¢ per day. How long will they have to save, if they save both their allowances together, before they can get a m
the cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
What are the 3 features of a typical seigneurie
If a slope of a line is 2/0 is it 0 or undefined?
A farmer hauled in 120 bales of hay. Each of his cows ate 1 1/4 bales. How many cows the farmer feed?
How do you Factor c(squared)-8c ??
Find all powers of 4 in range 4 through 1,000