02 2025 档案

摘要:五星红旗 from turtle import * """绘制五角星,大小可变""" def wujiaoxing(size): for i in range(6): forward(size) right(144) """绘制红色矩形""" color("red","red") begin_fil 阅读全文
posted @ 2025-02-25 09:42 与尔5 阅读(3) 评论(0) 推荐(0) 编辑
摘要:红五角星 import turtle from turtle import * fillcolor("red") begin_fill() while True: forward(200) right(144) if abs( pos() ) < 1: break end_fill() turtle 阅读全文
posted @ 2025-02-25 09:03 与尔5 阅读(1) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示