swift while๋ฌธ (1) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [Swift] ์ค์ํํธ ๋ฐ๋ณต๋ฌธ(Loops, Repetitive Statement) ์ค์ํํธ ๋ฐ๋ณต๋ฌธ(Loops, Repetitive Statement) for๋ฌธ while๋ฌธ ๐ for๋ฌธ ์ผ์ ํ์ ๋์ ๋ฐ๋ณตํด์ผ ํ๋ ๊ฒฝ์ฐ ์ฌ์ฉ ๋ฒ์ ์ฐ์ฐ์๋ a...b ๋๋ a.. 1 { integers.removeLast() print(integers) } [์๋ฌธ- while๋ฌธ์ผ๋ก 1๋ถํฐ 10๊น์ง์ ์๋ฅผ ์ถ๋ ฅํ๊ธฐ] var x = 1 while x 0 ์ด์ 1 ๋ค์