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

Didinium are carnivorous protista, that prey on other, slower moving protista. a student is studying didinium feeding rates after 1, 3, and 5 days of food depri
The result of 7x1/3 is irrational or rational. PLEASE it needs to be correct because i just have one opportunity
The density of blood is 1.05 kg/m3, find the mass of a bag of blood for a transfusion, if the volume is 1.5 m3.
Please Help Me With This!!!!
Choose the answer. Which is a clue to the main idea of the text? A. The first and last paragraphs B. the name of the main character C. the cultur
undefined term in geometry
There are 397 students in the cafeteria at lunch. Each table seats 8 students. Approximately how many tables are needed for all of the students? Use compatible
At an art auction, Giannina's painting sold for over $300. Write an inequality that describes P, the price of Geannina's painting in dollars.
What views did egyptians hold about their pharaohs?
Which factors determine how much gravity a body in the universe possesses? Check all that apply. inertia mass weight distance orbital motion