# File: if0.py # Program to demonstrate a simple "if" statement # # Matt Bishop, ECS 10, Spring 2014 # # # 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" # if n == 0: print("You typed a 0!")