順序控制 (Sequential Execution)
最基本的程式執行方式,命令依序執行。
# 範例 1:向前走三步 move() move() move() # 範例 2:走一步後左轉 move() turn_left() # 範例 3:走一步、撿物品、左轉 move() take() turn_left()
Copyright © All rights reserved | This template is made with by Colorlib