【表白合集】表白文案+小程序准备好了,请问对象哪里领?(内含多份源码)拿去。

article/2025/9/29 12:20:51

​导语​​

"月色暗淡还有星辰—山河失色你还有我"

——《告白文案》

🎠1个月就要跨入2022年了,编也没有什么拿得出手的🎁礼物

所以我准备了很多很多的告白小故事+表白的小程序送给大家,单身的你可以好好学习下🎃🎃

希望能在你们撩妹撩汉的时候好好运用起来~图片

提供参考:源码基地在主页左侧(pc端)拿源码素材哈免费!

正文

本文是由Turtle写的多份源码项目啦!需要源码滴滴我即可~​

​一、第一份:俗话说的好,我爱你。

​1)☽小文案☽

你知道吗?在我的世界观念里,我希望都有你的存在,因为你在我的世界里对于我而言是那么的重要。

You know what? In my view of the world, I hope you exist, because you are so important to me in my world.

2)主程序

import turtle
import time# 画心形圆弧def hart_arc():for i in range(200):turtle.right(1)turtle.forward(2)def move_pen_position(x, y):turtle.hideturtle()     # 隐藏画笔(先)turtle.up()     # 提笔turtle.goto(x, y)    # 移动画笔到指定起始坐标(窗口中心为0,0)turtle.down()   # 下笔turtle.showturtle()     # 显示画笔# 初始化turtle.setup(width=800, height=500)     # 窗口(画布)大小turtle.color('black', 'red')     # 画笔颜色turtle.pensize(1)       # 画笔粗细turtle.speed(1)     # 描绘速度# 初始化画笔起始坐标move_pen_position(x=0,y=-180)   # 移动画笔位置turtle.left(140)    # 向左旋转140度turtle.begin_fill()     # 标记背景填充位置# 画心形直线( 左下方 )
turtle.forward(224)    # 向前移动画笔,长度为224# 画爱心圆弧hart_arc()      # 左侧圆弧
turtle.left(120)    # 调整画笔角度
hart_arc()      # 右侧圆弧# 画心形直线( 右下方 )turtle.forward(224)turtle.end_fill()       # 标记背景填充结束位置# 点击窗口关闭程序window = turtle.Screen()window.exitonclick()

3)效果展示

二、第二份:年少的欢喜是你。

​1)☽小文案☽

是的,你的每一次夸奖都在我的心里画上了浓重的一笔,我可以肆无忌惮的去对待任何人,但我却不能肆无忌惮地对待你

Yes, every time you praise me, I draw a heavy stroke in my heart. I can treat anyone without fear, but I can't 

treat you without fear

2)主程序

​
​
import turtle as t
from time import sleep
def go_to(x, y):t.up()t.goto(x, y)t.down()
def head(x, y, r):go_to(x, y)t.speed(20)t.circle(r)leg(x, y)
def leg(x, y):t.right(90)t.forward(180)t.right(30)t.forward(100)t.left(120)go_to(x, y - 180)t.forward(100)t.right(120)t.forward(100)t.left(120)hand(x, y)
def hand(x, y):go_to(x, y - 60)t.forward(100)t.left(60)t.forward(100)go_to(x, y - 90)t.right(60)t.forward(100)t.right(60)t.forward(100)t.left(60)eye(x, y)
def eye(x, y):go_to(x - 50, y + 130)t.right(90)t.forward(50)go_to(x + 40, y + 130)t.forward(50)t.left(90)
def big_Circle(size):t.speed(20)for i in range(150):t.forward(size)t.right(0.3)
def line(size):t.speed(20)t.forward(51 * size)
def small_Circle(size):t.speed(20)for i in range(210):t.forward(size)t.right(0.786)
def heart(x, y, size):go_to(x, y)t.left(150)t.begin_fill()line(size)big_Circle(size)small_Circle(size)t.left(120)small_Circle(size)big_Circle(size)line(size)t.end_fill()
def main():t.pensize(2)t.color('pink', 'red')head(-120, 100, 100)heart(250, -80, 1)go_to(100, -300)t.write("To: 年少的欢喜是你", move=True, align="left", font=("楷体", 20, "normal"))t.done()
main()
​​

3)展示效果

三、第三份:上面的升级版。

​1)☽小文案☽

如果我逐日一追求你的时候,我会被风吹向大海,因为大海的深蓝才可以表达我对你爱意的真相。恋爱时,我不要只和

你谈风花雪月,我还要和你谈未来,因为我希望你所有的计划当中都把我包含其中。

If I pursue you day by day, I will be blown to the sea by the wind, because the deep blue of the sea can 

express the truth of my love for you. When I'm in love, I don't just want to talk about romance with you, I 

also want to talk about the future with you, because I hope all your plans include me.

2)展示效果

Part 01 你的爱心已接收。完整的项目源码见小编主页(PC端)左侧免费领取!

四、第四份:

​1)☽小文案☽

我都觉得你成为了我的光,因为你让我的人间都换了岁月,所以有些东西一干一开始就应该保持原有的模样,比如爱

情,我需要扮演好你最想变成的那个角色

I feel that you have become my light, because you have changed the years in my world, so some things should keep their original appearance from the beginning, such as love, I need to play the role you want to be

然后在你需要我的时候突然出现,这并不代表着与爱无关,它恰恰变成了平淡岁月里的柴米油盐,你知道吗?

Then you suddenly appear when you need me, which doesn't mean it has nothing to do with love, it just becomes the daily necessities in the plain years, you know?

2)主程序

#画左边的小人
turtle.goto(-600,-200)
turtle.goto(-600,-120)
turtle.circle(35)
turtle.goto(-600,-200)
turtle.forward(40)
turtle.right(90)
turtle.forward(60)
turtle.hideturtle()     
turtle.up()    
turtle.goto(-600, -160)    
turtle.down()  
turtle.showturtle()
turtle.left(90)
turtle.forward(55)
turtle.right(45)
turtle.forward(20)
turtle.hideturtle()    
turtle.up()    
turtle.goto(-600, -145)   
turtle.down()   
turtle.showturtle()
turtle.goto(-545, -145)
turtle.left(90)
turtle.forward(20)#画第一个爱心
turtle.color('pink', 'pink')
turtle.begin_fill() 
turtle.hideturtle()   
turtle.up()     
turtle.goto(-500, -153)    
turtle.down()   
turtle.showturtle()
turtle.right(90)
turtle.forward(30)
turtle.left(90)
turtle.forward(30)
turtle.left(45)
turtle.circle(10.6,180)
turtle.left(180)
turtle.circle(10.6,180)
turtle.end_fill() 
#下一个大爱心
turtle.color('green', 'green')
turtle.begin_fill() 
turtle.hideturtle()    
turtle.up()     
turtle.goto(-430, -143)    
turtle.down()  
turtle.showturtle()
turtle.left(135)
turtle.right(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(45)
turtle.circle(17.67,180)
turtle.left(180)
turtle.circle(17.67,180)
turtle.end_fill() #第三个爱心
turtle.color('red', 'red')
turtle.begin_fill() 
turtle.hideturtle() 
turtle.up() 
turtle.goto(-315, -133) 
turtle.down()
turtle.showturtle()
turtle.left(135)
turtle.right(90)
turtle.forward(70)
turtle.left(90)
turtle.forward(70)
turtle.left(45)
turtle.circle(24.74,180)
turtle.left(180)
turtle.circle(24.74,180)
turtle.end_fill() #第四个爱心
turtle.color('red', 'red')
turtle.begin_fill() 
turtle.hideturtle()
turtle.up()
turtle.goto(-187, -133)
turtle.down() 
turtle.showturtle()
turtle.left(135)
turtle.right(90)
turtle.forward(70)
turtle.left(90)
turtle.forward(70)
turtle.left(45)
turtle.circle(24.74,180)
turtle.left(180)
turtle.circle(24.74,180)
turtle.end_fill()#第5个爱心
turtle.color('green', 'green')
turtle.begin_fill() 
turtle.hideturtle()
turtle.up()
turtle.goto(-43.7, -143)
turtle.down()
turtle.showturtle()
turtle.left(135)
turtle.right(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(45)
turtle.circle(17.67,180)
turtle.left(180)
turtle.circle(17.67,180)
turtle.end_fill() #第6个爱心
turtle.color('pink', 'pink')
turtle.begin_fill() 
turtle.hideturtle()
turtle.up() 
turtle.goto(53.88, -153)
turtle.down() 
turtle.showturtle()
turtle.right(90)
turtle.right(225)
turtle.forward(30)
turtle.left(90)
turtle.forward(30)
turtle.left(45)
turtle.circle(10.6,180)
turtle.left(180)
turtle.circle(10.6,180)
turtle.end_fill() #画右边的小人
turtle.hideturtle()    
turtle.up()
turtle.goto(251.28, -255)  
turtle.down()  
turtle.showturtle()
turtle.goto(196.28,-200)
turtle.goto(196.28,-120)
turtle.left(90)
turtle.circle(35)
turtle.goto(196.28,-200)
turtle.left(180)
turtle.forward(40)
turtle.left(90)
turtle.forward(60)
turtle.hideturtle() 
turtle.up()
turtle.goto(196.28,-160) 
turtle.down()  
turtle.showturtle()  
turtle.right(90)
turtle.forward(55)
turtle.left(45)
turtle.forward(20)
turtle.hideturtle()
turtle.up()   
turtle.goto(196.28, -145) 
turtle.down() 
turtle.showturtle()
turtle.right(45)
turtle.forward(55)
turtle.right(45)
turtle.forward(20)#画气球线和气球
#第一个气球
turtle.hideturtle() 
turtle.up()  
turtle.goto(-265, -133)   
turtle.down() 
turtle.showturtle()
turtle.goto(-245, 0)
turtle.right(135)
turtle.circle(35)
#第2个气球
turtle.hideturtle()  
turtle.up()   
turtle.goto(-265, -133)  
turtle.down()  
turtle.showturtle()
turtle.goto(-305, 80) 
turtle.circle(40)
#第3个气球
turtle.hideturtle()   
turtle.up()   
turtle.goto(-137, -133) 
turtle.down()   
turtle.showturtle()
turtle.goto(-167, 0)
turtle.circle(35)
#第4一个气球
turtle.hideturtle() 
turtle.up()  
turtle.goto(-137, -133)  
turtle.down() 
turtle.showturtle()
turtle.goto(-117, 80)
turtle.circle(40)
#写字LOVE
turtle.pencolor("GREEN")
turtle.penup()
turtle.goto(-245,10)
turtle.write("人",move=False,align='center',font=("微软雅黑",30,'normal'))turtle.pencolor("PURPLE")
turtle.penup()
turtle.goto(-305,90)
turtle.write("间",move=False,align='center',font=("微软雅黑",30,'normal'))turtle.pencolor("YELLOW")
turtle.penup()
turtle.goto(-167,10)
turtle.write("清",move=False,align='center',font=("微软雅黑",30,'normal'))turtle.pencolor("ORANGE")
turtle.penup()
turtle.goto(-117, 90)
turtle.write("欢",move=False,align='center',font=("微软雅黑",30,'normal'))

3)展示效果

总结

看完这些表白文案,各位是不是迫不及待想恋爱了?由衷地祝愿,每一句情话终有主,每一个灵魂都不孤独。源码基地见啦各位~

呃,那啥,昨天医生说我有低血糖,需要几句甜蜜的话,大家看着办吧,评论区意思意思就行了哈。

源码基地——

滴滴我即可啦!看我主页(pc端也可以自取滴)~

🎉往期推荐阅读——

 项目1.7  恋爱纪念日

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

项目1.8  故宫,下雪了

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

项目1.3  视频播放器

用了都说好的Python专属无广告视频播放器,良心到想为它疯狂打call

项目3.2  自动换壁纸

【Python高级技能】超炫酷,电脑每天自动换壁纸,这个神器适合你。

🎄文章汇总——

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

(更多内容+源码都在文章汇总哦!!欢迎阅读~)


http://chatgpt.dhexx.cn/article/3RLWTJHC.shtml

相关文章

【Python表白小程序】表白神器——赶紧收藏起来~

前言 “我路过庄园,却只思念一朵玫瑰,我见过星河,但只爱一颗行星。” 今天5.20了!!!趁现在还不赶紧偷偷的制造一个惊喜给女朋友(男朋友),本文分享一个 Python 表白程序&…

表白小程序制作

大家可能都会在抖音上刷过,那种表白小程序,但在我看来表白还是亲口说出来比较好,这类小程序只适合在平常的一些小节日给对方一个惊喜。话不多说,现在进入正题: 首先,要在电脑上安装微软的编译软件&#xff…

十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!

十款表白小特效 用代码表白 一个比一个浪漫 赶紧收藏起来吧!!! 文章简介 最近看了一街坊视频,问路人“你眼中的程序员是怎样的?” 然后一堆关键词就出来了“直男、宅、不懂浪漫、秃头、掉发、油头、戴眼镜、瘦、没得休息、枯燥…

如何编写表白微信小程序

微信小程序: 微信公众平台:https://mp.weixin.qq.com/ 小程序官方文档:https://developers.weixin.qq.com/miniprogram/dev/framework/ 微信开发者工具:https://developers.weixin.qq.com/miniprogram/dev/devtools/download.ht…

表白小程序

首先在电脑上新建一个文本文档,输入以下代码,然后保存并将后缀名改为vbs 最后用鼠标双击就会出现以下效果 do msgbox(“做我女朋友好不好”) msgbox(“我会做饭”) msgbox(“爱你一辈子”) msgbox(“带你去旅游”) magbox(“你说啥是啥”) msgbox(“永…

抖音火爆表白小程序(C#语言实现)

文章目录 前言第一步:创建项目1、创建windows窗体应用程序2、更改项目名称和储存位置3、选择合适的.NET框架4、项目创建完成 第二步:设计窗体1、添加控件2、更改属性3、更改窗体属性 第三步:添加事件1、添加[好呀]事件2、添加[算了吧]事件3、…

程序员得浪漫--十款表白小程序 一个比一个浪漫 赶紧收藏起来吧!!!

十款表白小特效 用代码表白 一个比一个浪漫 赶紧收藏起来吧!!! 文章简介 最近看了一街坊视频,问路人“你眼中的程序员是怎样的?” 然后一堆关键词就出来了“直男、宅、不懂浪漫、秃头、掉发、油头、戴眼镜、瘦、没得休息、枯燥乏…

❤️Python制作表白小程序,七夕能不能脱单就全靠它了!❤️(附源码)

眼看七夕就要来了,我已经预感到我那天会忙的不可开交。因为我早上要卖花,晚上要卖TT,凌晨我还得蹲酒店门口卖yao,顿时感觉生活好艰辛啊。 虽然有点小丢人,但是我一点也不担心,因为我能碰到同行的几率很低&a…

HTML5移动Web开发指南

HTML5移动Web开发指南 唐俊开 著 ISBN978-7-121-16083-7 2012年3月出版 定价:59.00元 16开 384页 宣传语 绝无仅有的HTML5移动Web开发专著 jQuery Mobile、Sencha Touch、PhoneGap入门首选 HTML5研究小组成员原创书籍 示例丰富,轻松上手 内 …

移动应用开发——作业1

题目一:请查找资料,简单描述Web应用开发框架Vue.js、React.js、Angular.js的特点,及在移动应用方面的发展,每种400字至600字。 1. Web应用开发框架——Vue.js: 特点: Vue.js是一套用于构建用户界面的渐进式…

Web笔记-移动前端开发笔记

因为最近有个移动端的小项目,在此稍微学习下移动端开发基础概念。免得用框架的时候莫名其妙。 px(CSS pixels):逻辑像素,浏览器使用的抽象单位; dp,pt(device independent pixels):设备无关像素; dpr(dev…

移动Web开发基础-flexible布局方案

概述 前面我们已经已经了解了两种基本的布局方案,移动Web开发基础-百分比flex布局方案 和 移动Web开发基础-rem布局,其中rem布局方案和我们今天要了解的flexible布局方案是有关系的,因为这两种方案布局元素的单位都是rem,他们的区…

十大移动web开发工具

以下列出的这些是目前十大移动web开发工具,移动开发者可以(根据具体情况)用这些工具来创建apps,实现丰富的功能。欢迎提出宝贵意见。 1)mobl-lang Mobl是一款免费且开源的语言,可以加快移动app的开发速度。结合HTML5技术,mobl具有以下特性:是一种简洁的语言,给人的感觉就…

Web前端系列技术之移动Web开发(从基础开始)①

移动Web开发 现如今,PC端网页已经不能满足于人们日常生活的便捷了,应运而生的移动端网页自然而然也变得更加受人青睐;毕竟曾有言:“ 有人或许不会使用电脑,但是大部分人都会使用手机 ”; 所以&#xff0c…

Unity3D标准资源包下载与使用

如图下面没有标准包,不利于做一些基本的场景搭建操作。可通过下面的方法下载并使用: 资源包下载有两种方法: 一、直接导入型的资源包 下载地址:https://unity.cn/ 依次选择下图红色标记处,并选择适合自己的类型&am…

Unity3D 获取资源运行时内存和硬盘大小

Unity3D 🌻获取资源运行时内存和硬盘大小 🌻内存 使用Profiler可以查看某个资源的内存占用情况,但是必须启动游戏,并且待查看的资源已经载入游戏中。我希望的是不启动游戏,也能看到它的内存好做统计。 🌻…

Unity3D 导入资源

使用Unity3D来设计游戏 全部文章 见 使用Unity3D来设计游戏 打开Unity3D的:window-asset store 就会出来这样的界面: 我们选择一个天空纹理,注意这里的标签只有一个,如果有多个就会显示所有标签的内容: 找个比较小的免…

Unity3D视图介绍

unity视图介绍 Unity 3D 拥有强大的编辑界面,游戏开发者在创建游戏过程中可以通过可视化的编辑界面创建游戏。 Unity 3D 的基本界面非常简单,主要包括菜单栏、工具栏以及五大视图,几个窗口就可以实现几乎全部的编辑功能。 一、Unity 3D 界…

Unity3D资源管理架构

在Unity3D引擎中,场景资源文件(.unity)是以2进制格式存储的,但同时它也有一种基于文本的表现格式。可在Edit>Project Setting>Editor 中设置: 1.使用binary2text.exe(win下目录:Editor\Data\Tools)可将.unity文件转换成.…

Unity3D 修改动画,资源文件设置

导出到项目中的动画文件,或者其他类型的资源文件(图片,音频...),通常是需要在面板中修改一下设置的。少量修改可以手动处理,当需要批量修改设置时,就会想到做个工具批量修改。 之前做过批量修改…