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

1.1.3 what is the the perimeter of a swimming pool if the length is 4,5m and the breadth is 3m? 1.1.4 Define the following concepts :a. Ratio. b. Rate​
balance this equationPB3 O4 + H2 → PB + H2O​
find the quotient 1/5 / (-5/7) =
The ratio of the length and the breadth of rectangle is 2:1.If the rectangle is 12m long, find the its breadth ​
The diameter of a wheel of a car is 30cm. If the car travels at an average speed of 13.2m/s, find the number of revolutions made by the wheel per hour, giving y
You will need _____ml of the 95% solution
. I can speak enough German for holidays. (GET) → I can _____________________________ on holiday.
13. A map has a scale of 2 cm to 3 km. (iii) If the actual area of a lake is 81 km?, calculate its area on the map.
u4gent help needed help me with the question of o.math​
How old will be her brother in five years ?? When Mona was 10, her brother was half her age. If Mona is 57 now, how old will be her brother in 5 years?​