Respuesta :

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')

fichoh

The program evaluates the number inputted by a user, checks if it is one of three special numbers and displays the appropriate message. The program is written in python 3 ;

special_num = int(input('enter number : '))

#allows user to input an integer value which is assigned to the variable named special number

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

#checks if the inputted value is one of the three special numbers using the assignment operator '==' and 'OR'

print('special number')

# if the condition evaluates to true, display the message ;special number

else :

print('Not a special number')

#if otherwise, display the message, not a special number.

Learn more :https://brainly.com/question/18929518

Ver imagen fichoh
Ver imagen fichoh