# File: mod2.py # # Same program, but now the functions live in a separate file # called addx.py import addx def main(): n = 4 print("n =", n ) # Note: must call the functions with addx. prefix print("n + 1 =", addx.add1(n) ) print("n + 2 =", addx.add2(n) ) print("n + 3 =", addx.add3(n) ) # end of main() main()