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's the largest county in America?
what's the speed of light
Select all that apply. The Cable Act of 1992 gave consumers the right to fair and effective cable. It also reflected the government's desire to _____. keep cabl
5x=15 what is substituted for x?
Marty ate 4/6 of his pizza Luis ate 5/6 of his. Marty ate more pizza than Luis how is that possible
Muscles directly cause a. the release of hormones. b. the regeneration of nerves. c. the extension of limbs. d. the healing of wounds.
Which two types of poetry focus on the poet's experiences? A. sonnet and tanka B. tanka and haiku C. haiku and lyric poetry D. lyric poetry and sonnet
Coastal areas that are near warm ocean currents are more likely to experience which of following effects?
Which of the following is an incorrect pairing of a pre-world war i nation and its post-war nameA.Russia/Soviet Union B.Armenia/Republic of GeorgiaC.Austria-Hun
Select the correct product (a+8)(b+3)