猫史档案馆


黄氏工业园部长hjc

黄氏工业园部长hjc

Lv.1

黄氏工业园(黄俊策)

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

【Python作品分享】汉诺塔 中回复

还不错,可以用pygame或pgzero做得更加完善

 

2023-05-08T20:32:21 点赞:0

Python贪吃蛇小游戏 中回复

chatAi好厉害

他能制造自己

#include<iostream>
using namespace std;

int main(){
int pizza=1;
cout<<"你点了"<<pizza<<"份批萨";
}

2023-05-08T20:53:10 点赞:0

【Python作品分享】window11安装【作品秀】 中回复

import tkinter.messagebox
import PyInstaller


tkinter.messagebox.showerror('windows 回复大王','噢!你电脑无了')

2023-05-09T21:00:22 点赞:0

【Python作品分享】新的作品【教程贴】 中回复

这是从网上学或搬运的吧!

 

2023-05-09T21:07:28 点赞:0

【Python作品分享】新的作品【教程贴】 中回复

这样更好

from turtle import *
penup()
goto(0,100)
pendown()
color("green")
bgcolor("black")
speed(11)
b = 0
while b < 200:
    right(b)
    forward(b * 3)
    b += 1
done()

2023-05-09T21:09:55 点赞:0

【Python作品分享】弹跳的小球【作品秀】 中回复

turtle库都能做

import turtle

# 创建窗口并设置属性
win = turtle.Screen()
win.title('弹球游戏')
win.bgcolor('white')

# 创建球体
ball = turtle.Turtle()
ball.shape('circle')
ball.color('black')
ball.penup()
# 定义球的初始位置和速度
x = 0
y = 300
speed_x = 2
speed_y = -3

while True:
    # 移动球的位置
    x += speed_x
    y += speed_y
    ball.goto(x, y)

    # 检查球是否碰到了左右两边的墙壁
    if x > 290 or x < -290:
        speed_x *= -1

    # 检查球是否碰到了底部边缘
    if y < -290:
        speed_y *= -1

    # 等待一段时间,使球的运动看起来更流畅
    win.update()

2023-05-09T21:19:34 点赞:0

【Python作品分享】忍者与飞镖【作品秀】 中回复

我也比你早做出

center_image

2023-05-09T21:23:09 点赞:0

论DDOS的进化 中回复

可以试试head伪装谷歌

 

 

2023-05-20T11:23:12 点赞:0

python内置彩蛋 中回复

ha

 

2023-07-17T11:38:27 点赞:0