赞
踩
python爱心代码简单教程的代码:
- coding: utf-8
- import turtle
- import time
- def LittleHeart():
- for i in range(200):
- turtle.right(1)
- turtle.forward(2)
- love=input('请输入表白语句,然后回车,(例如: 小美\\n,I Love You):\n')
- me=input('请输入署名:\n')
- if love=='':
- love='I Love you'
- if me=='
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。