1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
EleoNora [17]
3 years ago
6

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

Computers and Technology
1 answer:
gulaghasi [49]3 years ago
8 0

Answer:

special_num = int(input())

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

   print('Special number')

else:

   print('Not special number')

Explanation:

#get input

special_num = int(input())

#if function to evaluate true or false(aka Boolean)

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

#true evaluation

print('Special number')

#false evaluation

print('Not special number')

You might be interested in
I'm in middle school but when I singed in I accidentally put high school, how can I change that?
Pani-rosa [81]
Go to edit profile then go to preferences and select school level

8 0
3 years ago
Read 2 more answers
To use a resource from a module, you write the name of the module as a qualifier, using which symbol before the name of the reso
Sladkaya [172]

Answer:

d. .

Explanation:

Dot (.) symbol is used to access the resource from the module. It is used to establish the connection between resource and module.

While on the other hand "=" is an assignment operator that is used to assign a value to the variable. "*" is use for the purpose of multiplication of two values in variables. Double Inverted commas ("") used to print the statement written between them.

7 0
3 years ago
Match the OOP concept to its definition.
Alekssandra [29.7K]

Answer:

defines a class in terms of another class = inheritance

inherits the properties of a base class = derived class

provides only essential information to the world = data abstraction

binds data and functions together = encapsulation

Explanation:

6 0
3 years ago
Ughhh my cramps hurt sm
Aleonysh [2.5K]

Answer:

okay drink water and sleep and yea

8 0
3 years ago
Many mobile devices include a mini- ________ port.
nekit [7.7K]
USB Port, otherwise how would you plug it externally?
5 0
3 years ago
Other questions:
  • What powerful operating system was created in 1970s that has now set the industry
    12·1 answer
  • Is there a way to search your computer for all music files on it?
    9·1 answer
  • Does anyone know in adobe photoshop , digital design class , how to make a smart object and copy it to another page!
    6·1 answer
  • Write a program that will compare two names. The program prompts the user to enter two names for a comparison. If the names are
    8·1 answer
  • Prompt the user for a character and the height of a right triangle. Then, print a triangle of that height using the character en
    11·1 answer
  • How long are most personal vision statements?
    13·1 answer
  • sales reps at universal containers use salesforce on their mobile devices. They want a way to add new contacts quickly and then
    10·1 answer
  • a pair of shoes is on sale for 15% off with this discount customers will pay $9 if they buy the shoes ​
    14·1 answer
  • How we Design a power point presentation with your own voice recording in slide show with at least 10 slides. You can choose any
    8·1 answer
  • How do I change my username/display name
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!