python 用*输出字母C的图案
时间: 2024-03-18 18:38:59 浏览: 17
可以使用如下代码输出字母C的图案:
```
print(" *****")
print(" **")
print("**")
print("**")
print(" **")
print(" *****")
```
运行以上代码,输出结果如下:
```
*****
**
**
**
**
*****
```
相关问题
python 用*号输出字母C的图案
以下是 Python 代码:
```
print(' * * *')
print(' * *')
print('* *')
print('*')
print('*')
print('*')
print('* *')
print(' * *')
print(' * * *')
```
输出结果:
```
* * *
* *
* *
*
*
*
* *
* *
* * *
```
使用python实现用*号输出字母C的图案
好的,以下是Python实现用*号输出字母C的图案的代码:
```
print(' *****')
print(' ** ')
print('** ')
print('** ')
print(' ** ')
print(' *****')
```