用python中的遞歸畫一棵小樹

先給出畫一顆小樹的代碼: #tree.py from turtle import Turtle def tree(plist, l, a, f): # plist is list of pens # l is the length of brantch # is half of the angle between 2 brantches # f is factor by which branch
相關文章
相關標籤/搜索