2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > 【Python表白爱心合集】——“故事很长 我长话短说 我喜欢你 很久了”(♡ʟᴏᴠᴇ

【Python表白爱心合集】——“故事很长 我长话短说 我喜欢你 很久了”(♡ʟᴏᴠᴇ

时间:2020-09-16 13:20:10

相关推荐

【Python表白爱心合集】——“故事很长 我长话短说 我喜欢你 很久了”(♡ʟᴏᴠᴇ

导语

"盘子里最后一块肉给你 一冰激凌的第一口给你 一手机最后的10%电量给你!"

哈喽大家好!我是木木子,我要开始给大家放大招啦~​​ 代码---文案---长按保存哦

🌼你来之后,苦都不太苦,甜都特别甜

🌵如果人类有尾巴的话,说起来有点不好意思 ,只要和你在一起,一定会止不住摇起来

🌼我害怕你找不到我,所以我要藏在你心里

🌵I love three things in the world.The sun,the moon and you.The sun for the day,the moon for the night,and you for ever.

浮世万千,吾爱有三。日,月与卿。日为朝,月为暮,卿为朝朝暮暮。

下面这几套表白小项目送给大家👇希望大家喜欢💖

正文

一、爱心表白:💛做我女朋友吧,行就行,不行我再想想办法🌼

1)效果展示

2)附主程序

t=turtle.pen()t=turtlet.up()t.goto(0,150)t.down()t.color('pink')t.begin_fill()t.fillcolor('pink')t.speed(1)t.left(45)t.forward(150)t.right(45)t.forward(100)t.right(45)t.forward(100)t.right(45)t.forward(100)t.right(45)t.forward(250+math.sqrt(2)*100)t.right (90)t.speed(2)t.forward(250+100*math.sqrt(2))t.right(45)t.forward(100)t.right(45)t.forward(100)t.right(45)t.forward(100)t.right(45)t.forward(150)t.end_fill()t.goto(-10,0)t.pencolor('white')#Lt.pensize(10)t.goto(-50,0)t.goto(-50,80)t.up ()#It.goto(-100,0)t.down()t.goto(-160,0)t.goto(-130,0)t.goto(-130,80)t.goto(-160,80)t.goto(-100,80)t.up()#Ot.goto(10,25)t.down()t.right(45)t.circle(25,extent=180)t.goto(60,55)t.circle(25,extent=180)t.goto(10,25)t.up()t.goto(75,80)t.down()t.goto(100,0)t.goto(125,80)t.up()t.goto(180,80)t.down()t.goto(140,80)t.goto(140,0)t.goto(180,0)t.up()t.goto(180,40)t.down()t.goto(140,40)#Ut.up()t.goto(-40,-30)t.down()t.goto(-40,-80)t.circle(40,extent=180)t.goto(40,-30)t.hideturtle()a=input()

二、爱心表白:🧡有两个心愿:你在身边,在你身边🌵

1)效果展示

2)附主程序

pen = turtle.Turtle()pen.hideturtle()pen.fillcolor('pink')pen.begin_fill()# set the starting directionpen.left(110)# draw the left bottom partwhile pen.heading() < 140:# rotate & forwardpen.left(1)pen.forward(2)# move uppen.forward(90)# draw the left upper partwhile pen.xcor() < 0:pen.right(0.8)pen.forward(1)# go back to the starting point, and do the right part as a mirrorpen.up()pen.goto(0, 0)pen.down()# set the directionpen.setheading(70)# draw the right bottom partwhile pen.heading() > 40:# Defining step by step curve motionpen.right(1)pen.forward(2)# move uppen.forward(90)# draw the right upper partwhile pen.xcor() > 0:print(pen.xcor())pen.left(0.8)pen.forward(1)# Ending the filling of the colorpen.end_fill()

三、爱心表白:💘君初相识,犹如故人归。天涯明月新,朝暮最相思🌼

1)效果展示​

2)附主程序

import turtle as tdef heart(x,y,z): # 绘制爱心t.pensize(2)t.pencolor("black")if z == 1:t.fillcolor("red")elif z == 0:t.fillcolor("pink")t.begin_fill()#左半边t.penup()t.goto(x,y)t.pendown()t.circle(50,180)t.circle(180,37)t.left(46)#右半边t.circle(180,37)t.circle(50, 182)t.end_fill()def arrow1(x,y):t.pensize(5)t.pencolor("black")t.fillcolor("brown")t.penup()t.goto(x, y)t.pendown()t.setheading(210)t.forward(150)t.begin_fill()t.left(30)t.forward(20)t.right(30)t.forward(50)t.right(150)t.forward(20)t.left(120)t.forward(20)t.right(150)t.forward(50)t.right(30)t.forward(20)t.end_fill()def arrow2(x, y):t.pensize(5)t.pencolor("black")t.fillcolor("brown")t.penup()t.goto(x, y)t.pendown()t.begin_fill()t.setheading(30)t.forward(100)t.left(90)t.forward(8)t.right(120)t.forward(16)t.right(120)t.forward(16)t.right(120)t.forward(8)t.end_fill()def main():t.setheading(90)heart(50, 130, 0)t.setheading(120)heart(0, 100, 1)arrow1(-20, 60)arrow2(100, 130)t.hideturtle()t.exitonclick()

四、爱心表白:💝不想撞南墙了,想撞进先生的胸膛🌵

1)效果展示

这几份的代码都准备打包好了!文末即可免费领取哦~

2)效果展示(升级版)

这款是爱心树的升级版:自带各种背景音乐的哦~

总结

小伙伴儿们点的每个关注、每个评论、每条评论

我都认真的当成了喜欢一一相遇即是缘~感谢大家的喜欢与支持~

​​

🎯完整的免费源码(我主页pc段左侧自取或者私信我也可!)你们的支持是我最大的动力!!记得三连哦~mua欢迎大家阅读往期的文章哦~

往期推荐——

项目1.0 烟花玫瑰(内含多份源码)

Python表白代码:“ 星光月夜烟花皆归你,我也归你”(满天烟花盛开、附番外玫瑰)

项目1.1 恋爱指南(内含多份源码)

【Python恋爱指南】二款甜度爆表的小程序出炉—还怕找不到对象嘛?

项目1.2 隐藏表白

【表白神器】Python超火隐藏表白图 你能看出来吗?【附源码】

项目1.3 玫瑰表白(内含多份源码)

Python表白代码:太秀了,用过的人都找到了对象...【满屏玫瑰盛开】

项目1.7 恋爱纪念日

【Python纪念册】一屋两人三餐四季:“距离百年好合只剩xx年了~“多少?进来看看就知道了。

项目1.8 故宫,下雪了

【故宫,下雪了】一夜醒来,故宫完成秋冬交接,来自北方的故事纷纷踏雪而来(内含多份源码)

文章汇总——

Python— |已有文章汇总 | 持续更新,直接看这篇就够了

​​

​​

【Python表白爱心合集】——“故事很长 我长话短说 我喜欢你 很久了”(♡ʟᴏᴠᴇ ᴜ ᴛʜʀᴇᴇ ᴛʜᴏᴜsᴀɴᴅ♡)

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。