def naturalNumbers(n): out = [] for i in range(n): out += [i+1] return out # def naturalNumbers(n): # return [i+1 for i in range(n)]