Use nested for statement to write a program to print out the following pattern. ********* ======= ***** === *
时间: 2023-08-31 22:12:32 浏览: 46
google-sheets:Google表格的自定义= SCRYFALL()函数
```
for i in range(3):
for j in range(9):
print("*", end="")
print()
for i in range(2):
for j in range(5):
print("*", end="")
print()
for i in range(1):
for j in range(1):
print("*", end="")
print()
```
Output:
```
*********
*********
*********
*****
*****
*
```
阅读全文