4 < 8 and 8 < 80 4 > 8 or 8 < 80 not True not False
if
statement that checks the range
of a variableage = 25 if 16 <= age <= 65: print("Your age is in the right range") else: print("Your age is in the wrong range")
16 <= age and age <= 65 16 <= age <= 65
minor = age < 10 minor senior = age > 65 senior
4 < 8 and 8 < 80: True 4 > 8 or 8 < 80: True not True: False not False: True num_1 < num_2 and num_3 <= num_4: True num_1 < num_2 or num_3 > num_4: True num_2 == num_2 and num_3 != num_3: False num_2 == num_2 or num_3 != num_3: True
~ghoffman/it116_test/ex08.shThe script will prompt you for your Unix username.