Commit 91de8481 by BellCodeEditor

save project

parent 4700c62d
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
""" """
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
bian = input("您是要画几条边?").isalnum() bian =int(input("您是要画几条边?"))
pen.fillcolor("red") pen.fillcolor("red")
pen.begin_fill() pen.begin_fill()
for i in range(bian): for i in range(bian):
......
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