# File: if1.py # Program to demonstrate an "if-else" statement # # Matt Bishop, MHI 289I, Fall 2020 # # # This shows the "if" statement in various forms # # n = int(input("Enter a 0 or a 1 or a 2 or a 3: ")) # # first, the "if" # print("First, the if") if n == 0: print("You typed a 0!") else: print("You didn't type a 0!")