帮我用Python写一段520的表白小程序
时间: 2024-04-12 20:07:42 浏览: 197
运用python制作二维码链接抖音表白程序
好的,以下是一个简单的520表白小程序的Python代码:
```python
import time
print(" ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥")
print(" ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥")
print(" ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥")
print(" ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥")
print(" ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥")
print("♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥")
print("")
print(" 亲爱的XXX:")
print("")
time.sleep(1)
print(" 今天是5月20日,是个特别的日子。")
time.sleep(1)
print(" 我想对你说:")
time.sleep(1)
print(" 我喜欢你!")
time.sleep(1)
print(" 愿意做你的另一半,陪你走完余生。")
time.sleep(1)
print("")
print(" 爱你的YYY")
```
你只需要将其中的XXX和YYY替换成你和你喜欢的人的名字即可。运行程序后,就能在命令行中看到一段520表白的话。
阅读全文