help for a make function

Hello, friends.

I need help for my project.
I must create a function with a integer number as parameter
This function use the parameter for a loop
example

n = 1
output
1
2
3

n = 2
1,1
1,2
1,3
2,1
2,2
2,3
3,1
3,2
3,3

Thanks
Topic archived. No new replies allowed.