Pattern 12
easy
1. You are given a number n. 2. You've to create a pattern as shown in output format.
Constraints
1 <= n <= 5
Format
Input
A number n
Output
Example
Sample Input
5
Sample Output
0
1 1
2 3 5
8 13 21 34
55 89 144 233 377
Question Video