Commit 7cc32234 by BellCodeEditor

auto save

parent 146a0d80
Showing with 17 additions and 1 deletions
import turtle
py=int(turtle.textinput("qwer","多边形要几条边"))
yp=int(turtle.textinput("qwer","你要画几个多边形"))
pen=turtle.Pen()
for i in range(yp):
for i in range(py):
pen.forward(119)
pen.left(360/py)
pen.left(360/yp)
turtle.done()
\ No newline at end of file
......@@ -19,4 +19,4 @@ while True:
else:
print("已锁定,请联系我公司解锁")
exit()
print("欢迎来到贝尔编程!")
print("欢迎来到贝尔编程!")
\ No newline at end of file
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