-->
当前位置:首页 > 题库

PROGRAMMING:Nested loop format output

Luz5年前 (2021-05-10)题库443
Input an N and output the figure in the following format, with 4 spaces after each number
```
0
0 1
0 1 2
0 1 2 3
.......
0 1 2 ..... n-1
```
###Input format:
Enter an integer n
###Output format:
Output data in the following format:
```
0
0 1
0 1 2
0 1 2 3
.......
0 1 2 ..... n-1
```
###Input example:
Here is a set of inputs. For example:
```in
five
```
###Output example:
The corresponding output is given here. For example:
```out
0
0 1
0 1 2
0 1 2 3
0 1 2 3 4
```







answer:If there is no answer, please comment