Commit 844c3bcc by BellCodeEditor

save project

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