上例中指令〝for (i in color)〞(變數〝i〞名稱可自取)會自動搜索整個矩陣〝color〞,如矩陣內有放東西,則會把索引的字串存入變數〝i〞,故上例〝print i〞會輸出索引字串,而 ...
確定! 回上一頁