#The 34% tax bracket applies to income_input in the range 44000 - 78000 inclusive. 
#Write an if statement that outputs 'Different tax bracket' if the input income_input is not in this range. Otherwise, output '34% tax bracket'.

# Your goal is to print "Different tax bracket" when the value is outside the inclusive range [44000, 78000]
# The outside range means: 
# less than 44000 OR greater than 78000


# Directly check outside (simple and explicit)
income_input = int(input())

if income_input < 44000 or income_input > 78000:
    print('Different tax bracket')
else: 
    print('34% tax bracket')

#Check inside and negate it (using not + chained comparison)

if not (44000 <= income_input <= 78000): 
    print("Different tax bracket")
else: 
    print('34% tax bracket')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: