Commit dec9dc3b by BellCodeEditor

save project

parent d9e7e957
Showing with 4 additions and 2 deletions
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
pen
ink = input(你想要什么颜色))#绘制五角星# import turtle
pen=turtle pen
color = input("你想要什么颜色?")#绘制五角星#
pen.fillcolor(color) pen.fillcolor(color)
pen.begin_fill() pen.begin_fill()
for i in range(5): #重复执行5次 for i in range(5): #重复执行5次
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment