月归档:2022年09月

调用np.linspace进行线性插入坐标点

import numpy as np def insert_points2(st … 继续阅读

发表在 numpy, python | 留下评论

求10的算术平方根Python运行过程图示表

def sqrt(a): “””本函数求a的算术平方根””” left = 0 … 继续阅读

发表在 python | 标签为 | 留下评论

tkinter之星光旋转2D向量与面向对象编程适合初三学过三角函数以上同学

“”” tkinter星光旋转.py 面向对象编程案例, 本程序适合于初三以上学 … 继续阅读

发表在 python, tkinter | 标签为 , | 留下评论

填充块飞了

一个基本程序,把它应用起来价值就大了,具体发挥看你自己,这可是个秘密,不过一般人 … 继续阅读

发表在 python, turtle | 留下评论

不用三角函数实现的多点绕一个中心点旋转?

import time import turtle def godot(x,y) … 继续阅读

发表在 python, turtle | 标签为 | 留下评论

旋转的几何体_纯turtle

import time import turtle def draw_polyg … 继续阅读

发表在 python, turtle | 标签为 | 留下评论

python turtle 旋转的文字之秘密代码

“””旋转文字.py”&#822 … 继续阅读

发表在 python, tkinter, turtle | 留下评论