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

50% of all cakes were party cakes 1/5 fruit cakes the remainder sponge cakes what percentage of sponge cakes were made
Please Help: Which of the following makes a resource reference within an informational text? Summary Paraphrase Internal citation Works Cited page
the great depression started in _____.
A recipe uses 1 1/2 teaspoons of baking powder to make 8 blueberry muffins. How much baking powder is needed to make 36 muffins ?
Choose which of the following are true statement regarding matrices
$111.1 to the nearest $5
Four friends are collecting canned goods for charity Ron collects 10 more than 3 times as many cans as jasmine barry collects twice as many cans as jasmine A
? Which sentence conveys the same meaning as this sentence? Yo conozco a Eric.?Yo la conozco.Yo los conozco.Yo lo conozco.Yo te conozco.
What is the conicentration of water in a hypotonic solution??
how is the infinitive used in the sentence? he wants some water to drink. a. adjective b. noun c. adverb