pimento[w03]$ python3 Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> result = False >>> type(result) >>> result = True >>> type(result) >>> 3 < 5 # is 3 less than 5? True >>> 3 > 5 False >>> 3 > 3 False >>> 3 >= 3 True >>> 3 == 3 # question? is 3 equal to 3 True >>> 3 = 3 File "", line 1 SyntaxError: can't assign to literal >>> 3pi = 3.14 File "", line 1 3pi = 3.14 ^ SyntaxError: invalid syntax >>> 3.0 == 3 True >>> 5 != 4 True >>> 5 != 5 False >>> year = 2017 >>> if year <= 2018: ... print("You have graduated!") ... else: ... print("You have not graduated!") ... You have graduated! >>> year = 2022 >>> if year <= 2018: ... print("You have graduated!") ... else: ... print("You have not graduated!") ... You have not graduated! >>> exit() pimento[w03]$ python3 ~/Documents/conditionals1_sol.py Enter your favorite integer: 5 Your number is positive! pimento[w03]$ python3 ~/Documents/conditionals1_sol.py Enter your favorite integer: -3 Your number is negative! pimento[w03]$ python3 ~/Documents/conditionals1_sol.py Enter your favorite integer: 0 Your number is zero! pimento[w03]$ atom conditionals1.py pimento[w03]$ ^C pimento[w03]$