用python输出一个空心爱心
时间: 2024-05-09 20:18:59 浏览: 11
以下是使用Python输出一个空心爱心的代码:
```
print(" ♥♥♥ ♥♥♥ ")
print(" ♥ ♥ ♥ ♥ ")
print(" ♥ ♥ ♥ ")
print("♥ ♥ ")
print("♥ ♥ ")
print(" ♥ ♥ ")
print(" ♥ ♥ ")
print(" ♥ ♥ ")
print(" ♥ ♥ ")
print(" ♥ ♥ ")
print(" ♥ ")
```
输出结果如下:
```
♥♥♥ ♥♥♥
♥ ♥ ♥ ♥
♥ ♥ ♥
♥ ♥
♥ ♥
♥ ♥
♥ ♥
♥ ♥
♥ ♥
♥ ♥
♥
```
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_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)
![](https://img-home.csdnimg.cn/images/20210720083646.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)