小象學院 零基礎Python入門 案例二 分形樹繪製1.0

import turtle def main(): count = 1 while count<=5: turtle.forward(200) turtle.right(144) count = count + 1 turtle.exitonclick() if name == ‘main’: main() 【課後練習】 x=y=z=1 賦值正確 x,y=y,x x和y互相交換 x+=y 相當於令
相關文章
相關標籤/搜索