From 25a9f98a926158ede23396d936dfdf8a40b48d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Thu, 24 Sep 2015 22:10:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=83=BD=E7=9B=B4=E6=8E=A5=E9=81=8D?= =?UTF-8?q?=E5=8E=86=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/chapter2/05_Control_Flow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/05_Control_Flow.md b/source/chapter2/05_Control_Flow.md index 3a368de0..0788e176 100755 --- a/source/chapter2/05_Control_Flow.md +++ b/source/chapter2/05_Control_Flow.md @@ -550,7 +550,7 @@ case let (x, y): ```swift let puzzleInput = "great minds think alike" var puzzleOutput = "" -for character in puzzleInput { +for character in puzzleInput.characters { switch character { case "a", "e", "i", "o", "u", " ": continue