Nested Loops with the artist in Course 4
-
0:05 - 0:10루프를 또 다른 루프 안에 놓을 때
이것을 내포된 루프라고 부릅니다. -
0:10 - 0:17예를 들어 3회로 설정된 repeat times 블록을
사용해서 1회마다 삼각형의 한 변을 그려 -
0:17 - 0:22각 변의 길이가 100 픽셀인 삼각형을 만들라는
코드를 받았습니다. -
0:22 - 0:27하지만 우리는 삼각형 6개를 그리려고 합니다.
그러려면, 그 루프를 가져다 또 다른 -
0:27 - 0:30repeat times 블록 안에 놓습니다.
아주 간단하죠!
![]() |
Tomedes edited Korean subtitles for Nested Loops with the artist in Course 4 | |
![]() |
Tomedes edited Korean subtitles for Nested Loops with the artist in Course 4 | |
![]() |
Tomedes edited Korean subtitles for Nested Loops with the artist in Course 4 |