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

PROGRAMMING:Reverse digit string

Luz5年前 (2021-05-10)题库360
Input positive integer n and output its reverse sequence number string. If n = 6, output
```
1 2 3 4 5 6 5 4 3 2 1
```
###Input format:
Enter a positive integer n, the range of n is [1,50].
###Output format:
N, separated by a space.
###Input example:
```in
six
```
###Output example:
```out
1 2 3 4 5 6 5 4 3 2 1
```







answer:If there is no answer, please comment