課程 4 - 小藝術家 巢狀迴圈
-
0:05 - 0:10當你放置一個迴圈在另一個迴圈裡頭時,
我們稱它做巢狀迴圈 (nested loop)。 -
0:10 - 0:14舉例來說,這裡我們已經有一段程式碼
用重複積木設定 3 次, -
0:14 - 0:21一次一邊來準備畫一個邊長 100 像素的三角形。
-
0:21 - 0:25但是我們想畫出 6 個三角形。為了完成這件事,
-
0:25 - 0:31我們會把那些操作指令放置在另一個重複積木裡,很酷吧!
- Title:
- 課程 4 - 小藝術家 巢狀迴圈
- Description:
-
到 http://code.org/ 開始學習
隨時和我們聯繫!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg - Video Language:
- English
- Team:
- Code.org
- Project:
- CSF '21-'22
- Duration:
- 0:35
TranslateByHumans edited Chinese, Traditional subtitles for Nested Loops with the artist in Course 4 | Apr 13, 2020, 8:19 AM | |
TranslateByHumans edited Chinese, Traditional subtitles for Nested Loops with the artist in Course 4 | Apr 9, 2020, 4:49 AM | |
奕德 余 edited Chinese, Traditional subtitles for Nested Loops with the artist in Course 4 | Feb 27, 2017, 12:19 PM |