猫史档案馆


0423545385

0423545385

Lv.1

生是方块人,死是方块魂

获赞:32收藏:2浏览:255作品收藏:0
回复帖子评论
上一页1 页 / 共 1下一页

发现一个bug 中回复

代码已崩溃

emotion_编程猫_搓头emotion_编程猫_翻白眼

emotion_衰

2020-11-29T11:00:30 点赞:0

想要的自己收藏 中回复

giao

2020-11-29T11:05:59 点赞:0

炫酷python代码,程序员直哭 中回复

代码1

import turtle

turtle.bgcolor('blue')
turtle.pencolor("red")


turtle.speed("fastest")
turtle.pensize(1)
for y in range(200):
turtle.forward(3*y)
turtle.left(20)
turtle.right(175)

代码2

import turtle

t = turtle.Pen()
turtle.bgcolor("black")
sides = 6
colors = ["red", "yellow", "green", "blue", "orange", "purple"]
for x in xrang(360):
t.pencolor(colors[x % sides])
t.forward(x*3/sides+x)
t.left(360/sides+1)
t.width(x*sides/200)

2021-06-12T11:06:39 点赞:0

QQ群来了 中回复

center_image

2021-07-17T16:14:26 点赞:0

pygame做个贪吃蛇(下期学习下载PYCHARM) 中回复

哦,搞错了,是pygame库

2021-07-17T18:02:23 点赞:0