python 用*号输出字母C的图案
时间: 2023-04-09 22:01:09 浏览: 110
以下是 Python 代码:
```
print(' * * *')
print(' * *')
print('* *')
print('*')
print('*')
print('*')
print('* *')
print(' * *')
print(' * * *')
```
输出结果:
```
* * *
* *
* *
*
*
*
* *
* *
* * *
```
相关问题
使用python实现用*号输出字母C的图案
好的,以下是Python实现用*号输出字母C的图案的代码:
```
print(' *****')
print(' ** ')
print('** ')
print('** ')
print(' ** ')
print(' *****')
```
Python算法 用*号输出字母C的图案。
好的,这个问题我可以回答。以下是Python代码:
```python
print(" * * *")
print(" * ")
print("* ")
print("* ")
print("* ")
print(" * ")
print(" * * *")
```
输出结果为:
```
* * *
*
*
*
*
*
* * *
```
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)