Commit 9bc017fc by BellCodeEditor

save project

parent 7dcfb1cc
Showing with 11 additions and 9 deletions
#导入模块
import turtle def peach(n):
# pen=turtle.Pen() if n == 10:
# pen.write("你好呀!",font=("Times",20,"normal")) return 1
# turtle.down num = (peach(n+1)+1)*2
pen1=turtle.Pen() return num
pen1.circle(50)
turtle.down peach_num = peach(6)
pen1 print(peach_num)
\ 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