猫史档案馆


Sunset_你IE但暑假开桂企图码字版

Sunset_你IE但暑假开桂企图码字版

Lv.1

纪念传奇工作室日落社区(2023~2025)

获赞:244收藏:67浏览:1386作品收藏:7

签名:我什么也没在做

回复帖子评论
上一页1 页 / 共 19下一页

玩具熊午夜后宫-姐妹地点Python代码(全部自编) 中回复

好厉害!

2024-09-20T23:29:03 点赞:0

【Python作品分享】模拟下载【作品秀】 中回复

emotion_编程猫_点赞

2024-09-21T11:34:40 点赞:0

【Python作品分享】4维立方体【作品秀】 中回复

肝估计都要没了

2024-09-21T11:53:54 点赞:0

python记事本 中回复

担心作者的肝

2024-09-21T12:46:20 点赞:0

圆周率算法------全网最简单(自己算的) 中回复

五年级学生表示看不懂

2024-09-23T22:27:56 点赞:1

谁没有以下宠物 中回复

234

2024-10-27T23:42:24 点赞:0

我太悲哀了,谁给我这题答案我给他1个赞 中回复

3*2=6emotion_雷电猴_疑问

2024-10-27T23:47:17 点赞:0

精灵投票所 中回复

2、5!

2024-10-27T23:48:53 点赞:0

请问你们最讨厌的精灵是哪一位?(注意,不关系精灵的品级和阶级) 中回复

泡泡鱼

2024-10-27T23:59:03 点赞:0

【源码精灵】星能猫拟人 中回复

好卡哇伊!emotion_星能猫_ye

2024-10-31T22:38:21 点赞:0

妙音龙拟人 中回复

还行吧……emotion_编程猫_紧张

2024-10-31T22:45:22 点赞:0

【水】当Windows历代系统被拟人(娘)化(来拿壁纸) 中回复

win7我爸办公室还在用

2024-11-16T14:49:00 点赞:0

《1970年的帖子》 中回复

center_image

2024-11-17T10:21:38 点赞:0

《1970年的帖子》 中回复

秦始皇年代就有电脑了emotion_dogecenter_image

2024-11-17T10:24:00 点赞:0

骑着吉吉喵出征辣!!! 中回复

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

2024-12-01T11:44:16 点赞:0

[社区训练师编号调研报告]训练师编号 中回复

center_imagecenter_image

最臭的用户

2024-12-03T22:47:18 点赞:1

【Python作品分享】tkinter—messagebox-悄悄话留言板【作品秀】 中回复

做的不错!另附图:

center_image

center_image

center_image

2024-12-08T13:33:41 点赞:0

【Python作品分享】【120强进36】【作品秀】 中回复

import turtle
import time
import random

r = random
t = turtle
pen = turtle
t.hideturtle()

# 画太空
t.bgcolor("#000066")
#问题
i = 1
while i == 1:
    ans = t.textinput("问题", "请输入宇航员手中的旗子的颜色:a红色 b黄色 c绿色 d橙色 e紫色")
    if ans == "a":
        color = "red"
        i = 0
    elif ans == "b":
        color = "yellow"
        i = 0
    elif ans == "c":
        color = "green"
        i = 0
    elif ans == "d":
        color = "orange"
        i = 0
    elif ans == "e":
        color = "purple"
        i = 0
    else:
        print("请从选项中选择一项!")
print("OK!")

# (水瓶座)小星星
q = 0
t.pencolor('white')
t.penup()
t.goto(0,0)
t.pendown()
t.dot(10)
t.goto(0,80)
t.dot(10)
t.goto(80,110)
t.dot(10)
t.goto(160, 140)
t.dot(10)
t.penup()
t.goto(0,80)
t.pendown()
t.goto(80,50)
t.dot(10)
t.goto(140, 50)
t.dot(10)
t.penup()
t.goto(0,0)
t.pendown()
t.goto(-30, -30)
t.dot(10)
t.goto(-40, -70)
t.dot(10)
t.goto(20, -145)
t.dot(10)
t.goto(55, -90)
t.dot(10)
t.goto(130, -90)
t.dot(10)
t.goto(150, -100)
t.dot(10)
t.goto(190, -120)
t.dot(10)

#普通小星星(x:190以上或-30以下y:140以上或-145以下)
t.penup()
t.goto(260,200)
t.dot(10)
t.goto(-50, 190)
t.dot(10)
t.goto(-150, -260)
t.dot(10)
t.goto(100, -190 )
t.dot(10)
t.goto(-250, -250)
t.dot(10)

# 宇航员头盔
t.goto(-200, 200)
t.dot(130)
t.pencolor("gray")
t.dot(110)
t.goto(-180, 230)
t.pencolor("white")
t.dot(25)
t.goto(-185, 200)
t.dot(20)

# 面料
t.goto((-250), 135)
t.fillcolor("white")
t.begin_fill()
t.pendown()
t.goto(-150, 135)
t.goto(-150, 20)
t.goto(-250, 20)
t.goto(-250, 135)
t.end_fill()

# 拉链
t.penup()
t.pendown()
t.begin_fill()
t.fillcolor("gray")
t.goto(-205, 135)
t.goto(-195, 135)
t.goto(-195, 20)
t.goto(-205, 20)
t.goto(-205, 135)
t.end_fill()
t.penup()

#手臂
t.goto(-250, 110)
t.pendown()
t.pensize(20)
t.pencolor("white")
t.goto(-310, 140)
t.pencolor("tan")
t.dot(25)

t.penup()
t.goto(-150, 110)
t.pendown()
t.pensize(20)
t.pencolor("white")
t.goto(-90, 80)
t.pencolor("tan")
t.dot(25)

#裤子
t.penup()
t.pensize(1)
t.goto(-250,20)
t.pencolor("black")
t.pendown()
t.fillcolor("white")
t.begin_fill()
t.goto(-150,20)
t.goto(-150,-70)
t.goto(-250,-70)
t.goto(-250,20)
t.end_fill()

#鞋
t.pencolor("gray")
t.penup()
t.goto(-210,-70)
t.pensize(20)
t.pendown()
t.goto(-260,-70)
t.goto(-190, -70)
t.pensize(20)
t.pendown()
t.goto(-140, -70)

t.pensize(1)
t.pencolor("black")
t.penup()
t.goto(-200, 20)
t.pendown()
t.goto(-200, -81)

#氧气管
t.pencolor("white")
t.pensize(10)
t.penup()
t.goto(-135,200)
t.pendown()
t.goto(-85,200)
t.goto(-150,57)

#小旗子
t.penup()
t.goto(-310,140)
t.pencolor("black")
t.pensize(1)
t.pendown()
t.goto(-310,190)
t.fillcolor(color)
t.begin_fill()
t.goto(-270,190)
t.goto(-270,170)
t.goto(-310,170)
t.goto(-310,190)
t.end_fill()

#闪烁
t.penup()
x = 0
while x == 0:
    t.goto(190, -120)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(150, -100)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(130, -90)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(55, -90)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(20, -145)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(-40, -70)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(-30, -30)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(0, 0)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(140, 50)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(80, 50)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(0, 80)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(160, 140)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(80, 110)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

    t.goto(0, 80)
    rr = r.randint(0, 5)
    if rr == 0:
        c = "red"
    elif rr == 1:
        c = "yellow"
    elif rr == 2:
        c = "pink"
    elif rr == 3:
        c = "blue"
    elif rr == 4:
        c = "white"
    else:
        c = "orange"
    pen.pencolor(c)
    time.sleep(0.5)
    pen.dot(10)

turtle.done()

2024-12-08T13:51:41 点赞:0

你们有谁会Python吗?一点点也行。 中回复

你好,请选择我

2024-12-08T22:27:08 点赞:0

有没有人当我师傅,会Python就行了!最好是本工作室 中回复

import turtle

def lyb():
s = text1.get('1.0',"end")
file = open('wd1.txt',"w")
file.write(s)
file.close()
messagebox.showinfo("prompt",'I have received your message!')


import tkinter
from tkinter import messagebox
windows = tkinter.Tk()
windows.title('Message Board')
windows.geometry('500x350')
tkinter.Label(windows,text='Message Board',fg='purple',font=( 'times',20,'bold'))
t = tkinter.Label(windows,text="Write down what you really think",font=('楷体',12))
t.place(x=70,y=60)
text1 = tkinter.Text(windows,width=52,height=10)
text1.place(x=70,y=90)

tkinter.Button(windows,text='It is done!',font=('黑体',15),command=lyb)
windows.mainloop()

2024-12-08T22:32:15 点赞:0

有谁会python的吗???? 中回复

我!!!!!!!!!!!!!!!!!!!!!

2024-12-08T22:41:05 点赞:0

【小游戏】把你的头像发出来并形容 中回复

center_image 微软公司开发的最差浏览器internetexplorer第十一代logo     R.I.P internetexplorer 1990~2023  

2024-12-15T12:18:13 点赞:1

【海龟编辑器】意见反馈信箱(长期有效) 中回复

客户端codemao库!

2024-12-15T21:40:01 点赞:0

【小游戏】用一句话形容你楼下的头像 中回复

带耳机的不明生物

2024-12-21T14:43:14 点赞:0

【水】当Windows历代系统被拟人(娘)化(来拿壁纸) 中回复

再附几个(1)

Windows2K

center_image

WindowsSEVER2003

center_image

WindowsME

center_image

2024-12-29T14:52:22 点赞:0

【水】当Windows历代系统被拟人(娘)化(来拿壁纸) 中回复

再附几个(2)

Windows95

center_image

WindowsNT4.0

center_image

 

2024-12-29T14:54:45 点赞:0

【水】当Windows历代系统被拟人(娘)化(来拿壁纸) 中回复

再附一个(3)

Windows3.1

center_image

2024-12-29T14:55:48 点赞:0

Goodbye,Windows 10…… 中回复

没有

2024-12-31T23:35:15 点赞:0

Goodbye,Windows 10…… 中回复

center_image

2024-12-31T23:37:10 点赞:1

【Windows的事】Windows7接近尾声 中回复

2024考古

2024-12-31T23:38:25 点赞:0