C:\stuff> C:\stuff>cat table1.txt 1 5 10 2 1.0 2 10 20 4 2.0 3 15 30 8 3 4 20 40 16 4.0 C:\stuff> C:\stuff>python summer.py 5 table1.txt [10, 50, 100, 30, 10.0] C:\stuff>cat table2.txt 2 1+1 1<<1 eval("2") 16 2*2*2*2 pow(2,4) 16.0 3 len('abc') [1,2,3][2] {'spam':3}['spam'] C:\stuff>python summer.py 4 table2.txt [21, 21, 21, 21.0]