技术栈

用python画一个爱心

ericf~2023-12-14 20:14
python 复制代码
import turtle
turtle.setup(600, 400)
turtle.pensize(2)
turtle.penup()
turtle.goto(0, 90)
turtle.setheading(0)
turtle.left(135)
turtle.begin_fill();
turtle.color("pink", "pink")
turtle.pendown()
turtle.circle(63.65, 180)
turtle.goto(0, -90)
turtle.goto(90, 0)
turtle.setheading(45)
turtle.circle(63.65, 180)
turtle.end_fill()
turtle.hideturtle()
turtle.exitonclick()
上一篇:撸源代码破冰杀手锏(二):Spring boot模块装配|条件状态|SPI机制
下一篇:基于Spring Boot+Vue.js的停车场收费管理系统 需求分析
相关推荐
Warson_L
15 小时前
Python `Annotated` 与 LangGraph Reducer 学习笔记
python
韩师傅
15 小时前
海天线算法的前世今生
python·计算机视觉
韩师傅
15 小时前
当你的甲方设备过烂,要如何快速出效果?
python·计算机视觉
Warson_L
15 小时前
LangGraph的MessageState and HumanMessage
python
韩师傅
16 小时前
当你的甲方吐槽天空不够蓝,你应该如何应对
python·计算机视觉
Warson_L
16 小时前
python的类&继承
python
Warson_L
16 小时前
类型标注/type annotation
python
ThreeS
19 小时前
手搓MiniVLA全实战教程-一步一步用pytorch解释原理与思路
人工智能·python
金銀銅鐵
20 小时前
[Python] 模 n 乘法的逆元计算器
python·数学·游戏
热门推荐
012026年6月AI大模型全景报告:GPT-5.6、Claude Opus 4.8、Gemini 3.5,中美AI三足鼎立谁主沉浮?022026年6月AI行业全景:从百模大战到Agent元年,这30天发生了什么?03飞书长连接_事件订阅(接收消息,审批任务状态变更)04Trae国际版与国内版深度测评:AI原生IDE的双生花052026 年 AI 编程工具终极横评:Cursor vs Claude Code vs Copilot vs Windsurf06GitHub 镜像站点07【AI】2026 年具身智能模型和世界模型总结082026年AI架构实战:彻底解决OpenAI接口超时与封号,Python调用GPT-5.2/Sora2企业级架构详解(附源码+压测报告)09Claude Code、Codex、Cursor三分天下:2026年AI编程Agent生态全景剖析102026 AI 编程工具终极实战指南:Cursor vs Claude Code vs Copilot,开发者该怎么选?