通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
六边形绘制。使用 turtle 库,绘制一个边长值为 100 的六边形。
from turtle import * for i in range(6): fd(100) left(60)