import sys

t = int( sys.argv[1] )

n = int( sys.argv[2] )

print("This is the %d times table." % t)

for i in range(1, n+1):
    t_times_i = t * i

    print("%d times %d equals %d" % (i, t, t_times_i))

Previous Next