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

PLEASE ANSWER ASAP WILL GIVE BRAINLIEST. :(
What is FJ for brainliest
please help! need due on tuesday
what make a star give about vast amount of energy​
x^5 ⋅ x^9 can someone help
please help I have to turn this in by the end of the night
A construction worker drops a hammer while building the Grand Canyon skywalk 4,000ft above the Colorado River. Use the formula t=h−−√4 to find how many seconds
Carmen's butterfly has wings that are 25 centimeters long. How many millimeters is the length of the wings?
what is (9m)4 without exponents
can someone help me pleaseee :) u have to make the questions become y = mx + b