""" Put this file in the same directory that pyex1.py is in on gl. Run it by entering the unix command 'python test.py' """ # import all of the sybmols defined in pyex1 from pyex1 import * tests = [ # problem one "sum_mult_3_5(10)", "sum_mult_3_5(50)", "sum_mult_3_5(100)", "sum_mult_3_5(1000)", "sum_mult_3_5(2000)", # problem two "hailstone(3)", "hailstone(13)", "hailstone(99)", "hailstone(9999)", for expression in tests: print expression, "=", eval(expression)