Since im fairly new to python and programming i have a question of a very basic nature. I want to make a iteration function and a recursive function that does this:
If you can use range, I would do it like this in Python 2.7:
range
f = lambda x : map(abs, range(-x,x+1)) for x in f(4): print x,