Commit d69c44b3 by BellCodeEditor

auto save

parent c2f1308f
Showing with 23 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file import turtle
turtle.penup()
turtle.goto(-100,0)
turtle.write("I love you",font=("Times",50,"bold"))
turtle.penup()
turtle.goto(-100,-200)
turtle.pendown()
turtle.fillcolor("red")
turtle.begin_fill()
turtle.left(45)
turtle.forward(100)
turtle.circle(50,180)
turtle.right(90)
turtle.circle(50,180)
turtle.forward(100)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
a=["aa","bb","cc","dd","ff","gg","hh","kk"]
print(a[2:5:3])
\ 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