parkeraatwood parkeraatwood
  • 12-11-2020
  • Computers and Technology
contestada

Using Python Write an expression using Boolean operators that prints "Special number" if special_num is -99, 0, or 44.

Sample output with input: 17
Not special number

Respuesta :

Cytokine
Cytokine Cytokine
  • 12-11-2020

special_num = int(input())

if special_num == -99 or special_num == 0 or special_num == 44:

   print("Special number")

else:

   print("Not special number")

I wrote the code so that the user enters a number of their choice. Best of luck.

Answer Link

Otras preguntas

Which statement best describes the relationship between power and authority? A. Authority refers to minority groups exerting power over majorities. B. Au
36 POINTS :))WILL GIVE BRAINLIEST YOU NEED TO ANSWER IT ALL + GOOD FEEDBACK :)
how does a landscape artists make an object in the foreground appear closer than an object in the background? a~by making the object in the foreground larger i
Why is an echo weaker than the original sound? 1. The echo has a shorter wavelength than the original sound due to the reflection. 2. The echo has a smaller ampl
NEED HELP FAST PLEASE.
How do I find the capacity of an object?
The manager of a softball team needs to prepare a batting lineup using her 9 starting players. How many different lineups can she make?
why are video games not good for your health
Knowledge capture includes discovery, organization, and integration of knowledge into the ___.
whats 100x500x400x200x400