Respuesta :
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.
The statement is an illustration of conditional statements.
Conditional statements are statements whose execution depends on its truth value.
The required statement in python is as follows:
print("Special number" if special_num in special_list else " ",)
The flow of the above statement is that:
- It checks if special_num is in special_list
- If yes, it prints "Special number"
- Otherwise, nothing is printed
Read more about similar statements at:
https://brainly.com/question/18253379