일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- allege
- 컴터 연결
- 구글이 좋아하는 강한 SEO 작성 방법
- 맥
- feel torn
- collect the total
- obliged
- Playgrounds
- SwiftUI
- coding
- Uniting Worlds
- 2대 연결
- Playground
- Grammarly
- 코린이
- Making Your Own Portals
- Connect and Solve
- Swift
- 렛츠톡 첫 화면
- 인앱 결제
- 기초
- Polite
- Generalizing a Funcetion
- Learning
- 신세지다
- progamming
- crank up and down
- 해당 비즈니스 및 사이트명을 포함할 수 있도록 페이지 텍스트를 편집하세요 - wix.com
- BASIC
- 코딩
- Today
- Total
목록Playground (2)
IT

Now I take one more step. This is the first question var gemCounter = 1 moveForward() moveForward() collectGem() gemCounter = 1 comment) I can set a var statement in this way quest 2 = incrementing variable this means increasing var. var gemCounter = 0 while !isBlocked { while !isBlocked { if isOnGem { collectGem() gemCounter = gemCounter + 1 } moveForward() } turnRight() } comment) 큰 범위(while)에..

Yes, I can use the condition after the while statement. Quest 1 while !isBlocked { moveForward() if isOnOpenSwitch { moveForward() } else if isonClosedSwitch { toggleSwitch () } } while 스테이트먼트 쓸때 첫 조건은 그냥 앞으로 나아가라고 해도 된다. 이 점을 생각해내기가 어려웠음. Quest 2 func turnAndCollectGem() { moveForward() turnLeft() moveForward() collectGem() turnRight() } while !isBlocked { turnAndColllectGem () } tip. In coding..