调用

lzq666 Red2 2021-04-04 10:20:13 0

import turtle as t

def draw_tree(branch_length): if branch_length > 5: t.forward(branch_length) t.right(20) draw_tree(branch_length-20) t.left(40) draw_tree(branch_length-20) t.right(20) t.backward(branch_length)

t.left(90) t.up() t.backward(200) t.down() t.color('green') draw_tree(100) t.done()

{{ vote && vote.total.up }}