# sqarg2.py
# Written by Todd Wareham for CS 2500
"""
Prints the square of 1st (and only) command-line argument.
"""

import sys

if len(sys.argv) != 2:
    print "usage: python ", sys.argv[0], " num"
    sys.exit(1)

print "The square of ", int(sys.argv[1]), " is ", \
      int(sys.argv[1]) * int(sys.argv[1])
