일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 렛츠톡 첫 화면
- Swift
- 맥
- 기초
- Generalizing a Funcetion
- Grammarly
- Playground
- 2대 연결
- Learning
- obliged
- progamming
- crank up and down
- Playgrounds
- 신세지다
- allege
- 코린이
- 컴터 연결
- 구글이 좋아하는 강한 SEO 작성 방법
- collect the total
- SwiftUI
- Uniting Worlds
- Making Your Own Portals
- coding
- feel torn
- BASIC
- 코딩
- Connect and Solve
- Polite
- 인앱 결제
- 해당 비즈니스 및 사이트명을 포함할 수 있도록 페이지 텍스트를 편집하세요 - wix.com
- Today
- Total
목록coding (6)
IT

Initializing your Expert let expert = Expert() func expertMovethree() { expert.moveForward() expert.moveForward() expert.moveForward() } func expertTurnAround() { expert.turnLeft() expert.turnLeft() } expert.moveForward() expert.moveForward() expert.moveForward() expert.turnLockUp() expertTurnAround() expertMovethree() expert.turnLeft() for i in 1 ... 3 { expertMovethree() expert.collectGem() ex..

if you want to build a house, you use a blueprint. A blueprint shows the features of your house, such as the kitchen, bathrooms, and bedrooms. When you use a blueprint to build multiple houses, you know that the houses will look similar. In programming, a type is like a blueprint, and an instance is like a house that you built from the blueprint. In a type, features are called properties, and be..

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)에..

A algorithm is a set of rules and instructions you use solve the problem. For example, a navigation app uses an algorithm to figure out the fastest path to where you want to go. the skill you are adding now is the process of writing and tweaking code so you can use it in different situations. this puzzle has many different solutions, so trust your instincts and try different ideas until one work..

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..
보호되어 있는 글입니다.