From 022fb5da759fb046400f3871671a9c9b8cad1fe1 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Thu, 30 Jan 2020 17:37:23 +0800 Subject: [PATCH] save project --- star.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/star.py b/star.py index d381d74..f5f9076 100644 --- a/star.py +++ b/star.py @@ -1,3 +1,10 @@ """ 请使用turtle模块画出五角星 """ +import turtle +pen=turtle.Pen() +for i in range(5): + pen.forward(200) + pen.right(144) +pen.hideturtle() +turtle.done() \ No newline at end of file -- libgit2 0.25.0