while

๐ŸŒฑ ์ฝ”๋ฆฐ์ด๋ฅผ ์œ„ํ•œ GUIDE/๐Ÿ—‚๏ธ OpenSource

17 Swift์˜ ๋ฐ˜๋ณต๋ฌธ์œผ๋กœ ๊ตฌ๊ตฌ๋‹จ ์ถœ๋ ฅํ•ด๋ณด๊ธฐ

17 ๊ตฌ๊ตฌ๋‹จ ์ถœ๋ ฅํ•ด๋ณด๊ธฐ ๋ฌธ์ œ ํ’€์ด import UIKit for i in 2...9 { for j in 1...9{ var result = i * j print("\(i) X \(j) = \(result)") } }

์–‘์ฝฉ(Yangkong)
'while' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก