
Lv.1
一路走来,感谢相伴。
签名:共创:阿兹卡班毕业生 2022年7月16上进阶高手 2022年7月19点赞破1000 2022年8月4《双人联机井字棋》首页 2022年8月18上大佬 2022年10月18《空白作品-404》首页 2022年12月6粉丝破千 2022年12月28收藏破2k 2023年5月21日12:14:34达10W浏览 2023年7月3源码传说 2023年7月19《尼科夫在线工具》首页 2023年8月21粉丝破2k、收藏破4k
在 【Python作品分享】糖葫芦【作品秀】 中回复
import turtle
from tkinter import messagebox
from tkinter import *
root = Tk()
mypen = turtle.Pen()
myscreen = turtle.Screen()
mypen.speed(0)
def moveto(x, y):
mypen.penup()
mypen.goto(x, y)
mypen.pendown()
myscreen.title("星罗棋盘")
myscreen.bgcolor("tan")
size = myscreen.window_height()
myscreen.setup(size + 50, size + 100)
moveto(0, size / 2)
mypen.write("五子棋", font=("文泉驿正黑", 25), align="center")
moveto(-size / 2, size / 2)
for i in range(2):
for j in range(14):
mypen.forward(size)
mypen.backward(size)
mypen.right(90)
mypen.forward(size / 14)
mypen.left(90)
mypen.forward(size)
mypen.backward(size)
mypen.left(90)
def add_black(x, y):
moveto(x, y)
mypen.dot(size / 18, "black")
def add_white(x, y):
moveto(x, y)
mypen.dot(size / 18, "white")
def un_do():
mypen.undo()
messagebox.showinfo('提示', '左键黑棋,右键白棋,“q”键悔棋')
myscreen.onclick(add_black, btn=1)
myscreen.onclick(add_white, btn=3)
myscreen.listen()
myscreen.onkey(un_do, "q")
turtle.done()
这个不能用海龟编辑器网页版运行!
2022-01-03T11:03:46 点赞:0
在 你们谁会写这个代码? 中回复
nomber = int(input('您的票号是多少?'))
print('您应该从',nomber % 7 + 1,'号门进入景区')2022-01-03T11:20:44 点赞:0
在 【kitten4.0反馈】遇到问题不要怕,技术喵来帮你忙! 中回复
求救啊!!! 我呕心沥血做的作品因为kitten最近的一次更新被搞垮了! 不知为啥,我的主角一个劲儿往下掉! 以下是截图: 总之就是一个劲儿地往下掉! 这里是代码: 看到这里, 你可能会说: “哎呀训练师,你为啥不用咱新出的物理积木啊~” 要是以前(去年上半年)这物理积木好用,还会有这样的问题吗? “没事啊,你现在把它重做就行了!” 先看看这个吧: 这都第五部了啊!要把它全部替换掉......(你懂,其实就是懒) ——完,看在我这么认真的份儿上,请认真排查—— ps:如果有什么讲述不全面的情况,请到https://shequ.codemao.cn/work/126656987看作品代码
2022-01-07T21:29:41 点赞:0
在 【Python作品分享】冰墩墩【作品秀】 中回复
错误:time库没有导入
改正:
import turtle as t
import time
# t.screensize(1500,1500,'white')
t.speed(0)
t.pensize(5)
t.color('black')
t.hideturtle()
t.delay(0)
#ear right
t.penup()
t.goto(42.25, 100.5)
t.pendown()
t.fillcolor('black')
t.begin_fill()
t.setheading(75)
t.circle(-15, 100)
t.circle(-30, 86)
t.end_fill()
#ear right
t.penup()
t.goto(-42.25, 100.5)
t.pendown()
t.begin_fill()
t.setheading(105)
t.circle(15, 100)
t.circle(30, 86)
t.end_fill()
#body shape right
t.penup()
t.goto(0, 110)
t.setheading(0)
t.pendown()
t.circle(-100, 85)
t.circle(-195, 35)
t.right(5)
t.circle(-12.5, 30)
t.circle(-150, 30)
#body shape left
t.penup()
t.goto(0, 110)
t.pendown()
t.setheading(180)
t.circle(100, 85)
t.circle(195, 35)
t.left(5)
t.circle(12.5, 30)
t.circle(150, 30)
#right hand
t.pensize(2.5)
t.penup()
t.goto(100, -5)
t.pendown()
t.setheading(60)
t.fillcolor('black')
t.begin_fill()
t.forward(20)
t.circle(-15, 140)
t.circle(-27.5, 30)
t.circle(-32.5, 78)
t.end_fill()
#little red heart
t.pensize(1)
t.color('red')
t.fillcolor('red')
t.penup()
t.goto(122.5, 7.5)
t.pendown()
t.setheading(120)
t.begin_fill()
t.forward(3.5)
t.circle(2.5, 160)
t.right(10)
t.circle(7.5, 60)
t.forward(3.6)
t.setheading(35)
t.forward(5)
t.circle(7.5, 40)
t.circle(2.5, 180)
t.right(30)
t.forward(3.5)
t.end_fill()
#left hand
t.color('black')
t.fillcolor('black')
t.pensize(2.5)
t.penup()
t.goto(-101, -22.5)
t.begin_fill()
t.setheading(-125)
t.pendown()
t.forward(35)
t.circle(15, 160)
t.circle(12.5, 40)
t.circle(25, 25)
t.end_fill()
#right foot
t.fillcolor('black')
t.penup()
t.goto(32.5, -112.5)
t.begin_fill()
t.setheading(-90)
t.pendown()
t.forward(15)
t.circle(-20, 32)
t.circle(3.5, 110)
t.circle(30, 10)
t.circle(50, 5)
t.forward(24)
t.circle(7.5, 90)
t.forward(39)
t.setheading(-158)
t.forward(40)
t.end_fill()
#left foot
t.fillcolor('black')
t.penup()
t.goto(-32.5, -112.5)
t.begin_fill()
t.setheading(-90)
t.pendown()
t.forward(15)
t.circle(20, 32)
t.circle(-3.5, 110)
t.circle(-30, 10)
t.circle(-50, 5)
t.forward(24)
t.circle(-7.5, 90)
t.forward(39)
t.setheading(-22)
t.forward(40)
t.end_fill()
#circles
#blue right
t.color('#喵95ED')
t.pensize(2.5)
t.penup()
t.setheading(0)
t.goto(0, 70)
t.pendown()
t.circle(-105, 15)
t.circle(-80, 20)
t.circle(-60, 80)
t.circle(-15, 40)
t.circle(-140, 30)
#blue left
t.penup()
t.setheading(180)
t.goto(0, 70)
t.pendown()
t.circle(105, 15)
t.circle(80, 20)
t.circle(60, 80)
t.circle(15, 40)
t.circle(140, 30)
#red right
t.color('#b22222')
t.pensize(2.5)
t.penup()
t.setheading(0)
t.goto(0, 72.5)
t.pendown()
t.circle(-107.5, 15)
t.circle(-82.5, 20)
t.circle(-62.5, 80)
t.circle(-17.5, 40)
t.circle(-142.5, 30)
#red left
t.penup()
t.setheading(180)
t.goto(0, 72.5)
t.pendown()
t.circle(107.5, 15)
t.circle(82.5, 20)
t.circle(62.5, 80)
t.circle(17.5, 40)
t.circle(142.5, 30)
#purple right
t.color('#9A32CD')
t.pensize(2.5)
t.penup()
t.setheading(0)
t.goto(0, 75)
t.pendown()
t.circle(-110, 15)
t.circle(-85, 20)
t.circle(-65, 80)
t.circle(-20, 40)
t.circle(-145, 30)
#purple left
t.penup()
t.setheading(180)
t.goto(0, 75)
t.pendown()
t.circle(110, 15)
t.circle(85, 20)
t.circle(65, 80)
t.circle(20, 40)
t.circle(145, 30)
#yellow right
t.color('#b8860b')
t.pensize(2.5)
t.penup()
t.setheading(0)
t.goto(0, 77.5)
t.pendown()
t.circle(-112.5, 15)
t.circle(-87.5, 20)
t.circle(-67.5, 80)
t.circle(-22.5, 40)
t.circle(-147.5, 30)
#yellow left
t.penup()
t.setheading(180)
t.goto(0, 77.5)
t.pendown()
t.circle(112.5, 15)
t.circle(87.5, 20)
t.circle(67.5, 80)
t.circle(22.5, 40)
t.circle(147.5, 30)
#green right
t.color('#00CD00')
t.pensize(2.5)
t.penup()
t.setheading(0)
t.goto(0, 80)
t.pendown()
t.circle(-115, 15)
t.circle(-90, 20)
t.circle(-70, 80)
t.circle(-25, 40)
t.circle(-150, 30)
#green left
t.penup()
t.setheading(180)
t.goto(0, 80)
t.pendown()
t.circle(115, 15)
t.circle(90, 20)
t.circle(70, 80)
t.circle(25, 40)
t.circle(150, 30)
#black eye shade right
t.color('black')
t.fillcolor('black')
t.penup()
t.goto(20, 40)
t.pendown()
t.setheading(70)
t.begin_fill()
t.circle(-7.5, 40)
t.circle(-12.5, 20)
t.circle(-29, 100)
t.circle(-12.5, 20)
t.circle(-10, 60)
t.circle(-29, 100)
t.circle(-12.5, 20)
t.circle(-7.5, 40)
t.end_fill()
#black eye shade left
t.color('black')
t.fillcolor('black')
t.penup()
t.goto(-20, 40)
t.pendown()
t.setheading(110)
t.begin_fill()
t.circle(7.5, 40)
t.circle(12.5, 20)
t.circle(29, 100)
t.circle(12.5, 20)
t.circle(10, 60)
t.circle(29, 100)
t.circle(12.5, 20)
t.circle(7.5, 40)
t.end_fill()
#white circle part right
t.color('white')
t.penup()
t.setheading(0)
t.goto(36, 38)
t.pendown()
t.circle(-10, 360)
t.penup()
t.goto(39, 30.5)
t.pendown()
t.circle(1, 360)
#white circle part left
t.color('white')
t.penup()
t.goto(-36, 38)
t.pendown()
t.circle(-10, 360)
t.penup()
t.goto(-33, 30.5)
t.pendown()
t.circle(1, 360)
#black nose
t.color('black')
t.fillcolor('black')
t.penup()
t.setheading(0)
t.goto(-2.5, 22.5)
t.pendown()
t.begin_fill()
t.forward(7.5)
t.circle(-2.5, 120)
t.circle(-15, 30)
t.setheading(150)
t.circle(-15, 30)
t.circle(-2.5, 120)
t.end_fill()
#mouth
t.color('black')
t.fillcolor('black')
t.penup()
t.goto(0, 5)
t.pendown()
t.begin_fill()
t.circle(25, 40)
t.setheading(150)
t.forward(2.5)
t.right(180)
t.circle(-20, 50)
t.circle(-10, 50)
t.circle(-22.5, 30)
t.circle(-20, 80)
t.circle(-22.5, 20)
t.circle(-10, 30)
t.forward(3.5)
t.setheading(-35)
t.circle(15, 45)
t.end_fill()
#tongue
t.color('red')
t.fillcolor('red')
t.penup()
t.goto(-9, -10)
t.pendown()
t.setheading(60)
t.begin_fill()
t.circle(-15, 135)
t.setheading(-147)
t.circle(-22.5, 30)
t.circle(-20, 45)
t.end_fill()
#outline right
t.color('black')
t.pensize(1.5)
t.setheading(0)
t.penup()
t.goto(0, 117.5)
t.pendown()
t.circle(-102.5, 23)
t.setheading(75)
t.circle(-17.5, 105)
t.circle(-40, 75)
t.setheading(-55)
t.circle(-150, 24)
t.setheading(60)
t.circle(-17.5, 140)
t.circle(-40, 55)
t.circle(-55, 32)
t.setheading(-100)
t.circle(-160, 24)
t.setheading(-90)
t.forward(40)
t.circle(-7.5, 87)
t.forward(35)
t.circle(-50, 5)
t.circle(-30, 10)
t.circle(-3.5, 95)
t.circle(30, 15)
t.setheading(75)
t.forward(12)
t.setheading(90)
t.circle(5, 90)
t.forward(27)
#outline left
t.color('black')
t.pensize(1.5)
t.setheading(180)
t.penup()
t.goto(0, 117.5)
t.pendown()
t.circle(102.5, 23)
t.setheading(105)
t.circle(17.5, 105)
t.circle(40, 75)
t.setheading(-125)
t.circle(140, 42)
t.setheading(-125)
t.forward(32.5)
t.circle(20, 160)
t.circle(15, 40)
t.setheading(-70)
t.circle(140, 14)
t.forward(40)
time.sleep(2)
t.circle(7.5, 87)
time.sleep(2)
t.forward(35)
time.sleep(2)
t.circle(50, 5)
time.sleep(2)
t.circle(30, 10)
time.sleep(2)
t.circle(3.5, 95)
time.sleep(2)
t.circle(-30, 15)
time.sleep(2)
t.setheading(105)
time.sleep(2)
t.forward(12)
time.sleep(2)
t.setheading(90)
time.sleep(2)
t.circle(-5, 90)
time.sleep(2)
t.forward(27)
time.sleep(2)
t.hideturtle()
time.sleep(2)2022-02-09T14:40:28 点赞:0
在 【小游戏】故事复制接龙 中回复
一个老太太在马路上走着,突然,一辆车过来了!
这个老太太被车撞了,然后路人们围了过来,把老太太送进了医院。
经过漫长的抢救后,医生从手术室里出来了,医生出来的时候,见附近没人,于是撒了泡尿
一只狗走了过来,欣慰的笑了,说:“焯!”‘你’‘马’(?)
这时,夏洛特·芙兰佩走了进来,一脚踹在这只可怜小狗狗的脑袋上。小狗狗飞了出去,砸到了医生。
医生说:“你好勇啊。”可怜的小狗狗又一次被“面带微笑”的医生踹飞,飞出了大气层,碰到了同样“面带微笑”的外星人医生。
外星人说:我可以赐予你一个替身,于是,小狗就成为了伊奇——愚者。 小狗回来后,天天利用替身干“好事”
但使用该功能有副作用,即获得失败III+厄运V持续至替身GameOver,替身期间游戏不可存档。于是——
犹雪封冬,含香烛影,渲染光的深邃。独步殊途,你是我的太阳,似那蜡炬成灰。
它复活了,不小心上天了,变成了夺笋老太太,又从天空中掉了下来。
但是她的下落轨迹和运动状态不符合牛顿三大定律,世界崩塌中
许多怪兽从天而降,银河护卫队的奥特曼们拯救地球ing.......
然后创世神输入了console.clear()
第6天后电脑变成了左右式式电磁炮,电池变成了三元锂离子电池水杯变成了镍氢电池,有人买了电脑后电脑突然喵机了。
之后电脑爆炸了,
紧接着WeGame,steam等平台的所有游戏都免费了
紧接着,我不知道写点什么好
成龙坐在桌前,说‘游戏里的你,再强大,也是假的’
成龙紧接着说:’所以我们要把游戏扔进回收站里‘
成龙又说:“然后清理一下回收站,就行了”
2022-03-27T10:32:16 点赞:0
在 【喵】链接跳转大师——再也不用担心论坛里发不了屏蔽链接,tx里发链接会误变蓝/红啦! 中回复
“您”是不是认为我需要开F12啊?(尽量说得很亲切,我尽力了)我需要吗?用记事本打开他不香吗?

但是您为啥要说出这样的话呢?这样是不好的...
我尽量说得很亲切了...
2022-04-09T21:05:51 点赞:1
在 【训练师小课堂】第二期优秀帖子投票 中回复
求求各位大神,投我一票吧!最后冲刺! https://shequ.cod喵/community/435411 帖子标题:python下载90%网站视频 作者:未来无限工作室室长_哈迷
2022-04-15T20:59:04 点赞:0
在 这个打包exe的方法很不戳哟,要不要过来康康? 中回复
pyinstaller的缺点就是转换出来的exe太大了,不实用
顺便说一句,这教程我也做过,只不过有好几次我图片都被编程猫吞了
2022-06-19T22:20:20 点赞:0