operators.py

# operators.py # # Description: A simple program to show python's arithmetic operators. # # Date: 03/10/2015 # Written By: G.Evans # Add print("2 + 1 = ", 2 + 1) # Subtract print("2 - 1 = ", 2 - 1) print("1 - 2 = ", 1 - 2) # Multiply print("2 * 1 = ", 2 * 1) # Divide print("1 / 2 = ", 1 / 2) # Powers print("4 ^ 2 = ", 4 ** 2) print("4 ^ 3 = ", 4 ** 3)