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
Vinvika [58]
3 years ago
12

Write an expression using membership operators that prints "Special number" if special_num is one of the special numbers stored

in the list special_list = [-99, 0, or 44]. Sample output with input: 17
Computers and Technology
1 answer:
Maru [420]3 years ago
8 0

Answer:  

   Following are the program in Python language

special_list= [-99, 0, 44] # as mention in the question  

special_num = int(input()) # taking the user input..  

if special_num not in special_list: # checking the condition  

   print('not Special number') #display message  

else:

   print('special number') #display message  

Output:

523

not Special number

-99

special number

Explanation:

   Following are the description of the program.

  • Declared an array special_list and store integer value.
  • Read the integer value by using input function and store them into special_num variable.
  • Check the condition if number exits in array it print special number otherwise not Special number.
You might be interested in
Which is an example of correct HTML?
liubo4ka [24]

Answer:

An HTML tag is a special word or letter surrounded by angle brackets, &lt​; and >. You use tags to create HTML elements , such as ...

Explanation:

3 0
2 years ago
State three (3) benefits of using the internet ​
Hoochie [10]

Answer:

  • Entertainment for everybody
  • Social network
  • Inexhaustible Education
8 0
2 years ago
Read 2 more answers
The apparent magnitude of a star is the brightness of a star
Lana71 [14]
<span>c. as seen from the Earth without the effect of the atmosphere</span>
6 0
3 years ago
Read 2 more answers
32.043 in expanded form
Andre45 [30]

What does expanding a number really mean? When we expand a number, we are showing the value of each digit in that number. For example, the number 521 has a total of 500 + 20 + 1. This number has been written in its expanded form by showing the value of each digit.

In the case of a decimal number above 32.043, we will write each number according to its place value. This will be done by multiplying each digit by its place value and then adding them together. In this case, 32.043 in its expanded form will be;

(3×10) + (2×1) + (0× 1/1000) + (4×1/100) + (3×1/10)

(30)+ (2) + (0.0) + (0.04) + (0.003)


7 0
3 years ago
Read 2 more answers
Betsy recently assumed an information security role for a hospital located in the United States. What compliance regulation appl
IceJOKER [234]

HIPAA compliance regulation applies specifically to healthcare providers

c. HIPAA

<u>Explanation:</u>

HIPAA stands for Health Insurance Portability and Accountability Act. HIPAA applies to specifically to healthcare providers.

It is a law which was designed to provide privacy standards to protect the patient's medical records, reports and other health information which may be sensitive or confidential provided to health plans, doctors, hospitals and other health care providers.

7 0
3 years ago
Other questions:
  • Explain why regular system cleanup is vital to ensuring the operating system runs efficiently.
    12·1 answer
  • Write a Java program that generates GUI (Graphical User Interface). Your program should provide labels and textfields to a user
    9·1 answer
  • For each of the users of accounting information, identify whether the user is an external decision maker (E) or an internal deci
    6·1 answer
  • Montoya Consumer Products Inc is implementing Service Cloud. They typically handle 50,000 customer inquiries per day. What shoul
    13·1 answer
  • How are computers used in education and entertainment? List them.​
    10·1 answer
  • which of these tools stick to the edge of an image, thus making it easy to select the shape of an image
    6·1 answer
  • A search for reliable information is a search for what?
    14·1 answer
  • Edhesive 7.6 lesson practice python
    11·1 answer
  • Need help ASAP.<br> I am so lost.
    5·1 answer
  • explain why the database system would not allow a tuple to be inserted into the database through this view
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!