开学送给她的礼物(Python实现)
生活随笔
收集整理的這篇文章主要介紹了
开学送给她的礼物(Python实现)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
目錄
1 卿為朝朝暮暮
2 情感起伏
3 禮物贈送?
4 Python之實現turtle
1 卿為朝朝暮暮
先手抄一遍,然后再鍵盤敲出來:
飛鳥集中的一句話,改編的一首詩是過樣的:
浮世萬千,吾愛有三,日月與卿:
日為朝,月為暮,卿為朝朝暮暮,
浮世萬手,不得有三,水中月,鏡中花,
夢中你;月可求,花可得,唯你
求而不得。
終是自古多情空余恨.
好夢由來最易醒.
辭別再無相見日,終是一人度春秋......
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?——2022. 02. 26日留
2 情感起伏
剛才的詩讓人很悲哀,主要是積累了一假期的思念,其實想先引起感情共鳴,情感跌宕。開學了,送這個花給柔情似水的她,與她朝朝暮暮。馬上天氣暖和的春天啦,和她一起并肩看夕陽、和她一起聞花香、和她一起欣賞旖旎風光...............
3 禮物贈送?
4 Python之實現turtle
import turtle as t t.title('開學送女朋友的禮物') t.setup(800,800) t.hideturtle() t.speed(11) t.penup() t.goto(50,-450) t.pensize(5) t.pencolor("black") t.seth(140) t.pendown() t.speed(10) t.circle(-300,60) t.fd(100)#葉子 t.seth(10) t.fd(50) t.fillcolor("green") t.begin_fill() t.right(40) t.circle(120,80) t.left(100) t.circle(120,80) t.end_fill() t.seth(10) t.fd(90) t.speed(11) t.penup() t.fd(-140) t.seth(80) #一片葉子 t.pendown() t.speed(10) t.fd(70) t.seth(160) t.fd(50) t.fillcolor("green") t.begin_fill() t.right(40) t.circle(120,80) t.left(100) t.circle(120,80) t.end_fill() t.seth(160) t.fd(90) t.speed(11) t.penup() t.fd(-140) t.seth(80) t.pendown() t.speed(10) # t.fd(100) #花瓣 t.seth(-20) t.fillcolor("blue") t.begin_fill() t.circle(100,100) t.circle(-110,70) t.seth(179) t.circle(223,76) t.end_fill() #2花瓣 t.speed(11) t.fillcolor("blue") t.begin_fill()t.left(180) t.circle(-223,60) t.seth(70) t.speed(10) t.circle(-213,15)#55 t.left(70)#125 t.circle(200,70) t.seth(-80) t.circle(-170,40) t.circle(124,94) t.end_fill() # t.speed(11) t.penup() t.right(180) t.circle(-124,94) t.circle(170,40) t.pendown() t.speed(10)t.seth(-60) t.circle(175,70)t.seth(235) t.circle(300,12) t.right(180) t.circle(-300,12)t.seth(125) t.circle(150,60)t.seth(70) t.fd(-20) t.fd(20)t.seth(-45) t.circle(150,40) t.seth(66) t.fd(-18.5) t.fd(18.5)t.seth(140) t.circle(150,27) t.seth(60) t.fd(-8)t.speed(11) t.penup() t.left(20.8) t.fd(-250.5)#3花瓣t.pendown() t.speed(10) t.fillcolor("blue") t.begin_fill() t.seth(160)t.circle(-140,85) t.circle(100,70) t.right(165) t.circle(-200,32) t.speed(11) t.seth(-105) t.circle(-170,14.5) t.circle(123,94) t.end_fill() t.done()總結
以上是生活随笔為你收集整理的开学送给她的礼物(Python实现)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微信公众号开发者原生态的servlet
- 下一篇: python123 第四次作业答案_Py