import sys def show_num_to_2num(num): """ print all numbers larger then the given number, and smaller then twice its size. """ for n in range(num+1, 2*num): print n if (len(sys.argv) != 2): print "Usage: ", sys.argv[0], "" sys.exit(1) num = int(sys.argv[1]) show_num_to_2num(num)