Commit 65ce189c by BellCodeEditor

save project

parent f95394b0
Showing with 15 additions and 7 deletions
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
请使用turtle模块画出五角星 请使用turtle模块画出五角星
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.pen()
pen.fillcolor("black") pen=pen.shape("turtle")
pen.fillcolor("red")
pen.begin_fill() pen.begin_fill()
for i in range(5): for i in range(36):
pen.forward(200) forworld(200)
pen.right(144) right(170)
pen.end_fill() pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
name=input("你叫什么名字:")
print(name+"你好啊,欢迎来到编程世界!")
user=input("请输入账号")
pwd=input("请输入密码")
print("登陆成功")
\ No newline at end of file
name=input("你叫什么名字:")
name=input("你叫什么名字:")
\ 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