# This program fixes the problem in program 7. def square(n=10): x = n * n return x def main(): n = 3 x = square(n) print n, "squared is", x main()