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

what is a chemical fertilizer
A number n plus 7 is less than or equal to 9
after how many years will the salaries offered in company a and b be the samecompany a starting 24000 yearly 3000company b starting 30,000 yearly 2400
Children go through many different types of changes as they develop. True False
Which of the following is an example of a simile? A. Clouds of vanilla cotton candy floated in the sky. B. The house moaned and groaned with pain. C.
cd sales at corner music increased 145% last year. which number is equivalent to 145%? 14,500 145 1.45 0.0145
how do i write fractions as a sum or difference
Ben has a collection of 812 stamps. He gives his brother 345 stamps. About how many stamps Ben have left?
The cottage gin was introduced in 1793. What was the effect of this invention in the US
Digital media content is stored in coded form and : A . Takes up physical space B. Contains physical parts C. Is not easily transferred D. Can be accessed e