6
def function(l, step=1):
7
os.write(1, '%s\n' % l[-1:])
8
os.write(1, '%s\n' % l[1:-1])
9
os.write(1, '%s\n' % l[A:B])
10
os.write(1, '%s\n' % l[-1:B:A])
11
os.write(1, '%s\n' % l[-1::])
12
os.write(1, '%s\n' % l[::-1])
15
def entry_point(argv):
16
function([1, 2, 3, 4, 5, 6])
20
return entry_point, None