Lv.1
作者不懒,但还是没有留下任何个性签名
在 【Python作品分享】病毒【作品秀】 中回复
破解方法:轻轻点一下停止键然后点击关闭所有窗口imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E7%BF%BB%E7%99%BD%E7%9C%BC.gif"alt="emotion_编程猫_翻白眼"
2022-01-27T16:55:27 点赞:0
在 【Python作品分享】有问题【求助帖】 中回复
import turtle a = turtle.Pen () a.speed ( 0 ) x = 360 / 10 y= 120 for i in range ( 10 ): if i % 2 == 0 : a.color ( "skyblue" ) else : a.color ( "pink" ) a.begin_fill () a.forward ( y ) a.left ( x ) a.forward ( y ) a.left ( 180 -x ) a.forward ( y ) a.left ( x ) a.forward ( y ) a.left ( 180 -x ) a.end_fill () a.left ( x ) a.hideturtle () turtle.done () 这样就ok了
2022-01-31T16:08:50 点赞:0
在 一个十分着急的问题 中回复
画一个像素点就转弯一下,例:
import turtle a= turtle.Pen () a.speed ( 0 ) i = 0 while i < 90 : a.forward ( 1 ) a.left ( 1 ) i = i + 1 a.hideturtle () turtle.done ()2022-02-09T20:47:31 点赞:0