编程输出以下图形共15行
-
编程输出以下图案怎么设置
```python # Python code to print the pattern def pattern(n): k = 2 * n - 2 for i in range(0, n): for j in range(0, k): print(end=" ") k = k - 1 for j in range(0, i 1): print("* ", end="") print...
```python # Python code to print the pattern def pattern(n): k = 2 * n - 2 for i in range(0, n): for j in range(0, k): print(end=" ") k = k - 1 for j in range(0, i 1): print("* ", end="") print...