From a43d476141b2aa6bf44d15128a1f973beabe895d Mon Sep 17 00:00:00 2001 From: Aybars Nazlica Date: Sun, 9 Mar 2025 17:26:04 +0900 Subject: [PATCH] Fix typo in constant declaration --- concepts/conditionals/about.md | 2 +- concepts/conditionals/introduction.md | 2 +- exercises/concept/vehicle-purchase/.docs/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/concepts/conditionals/about.md b/concepts/conditionals/about.md index d951d8d0f..3629c53d8 100644 --- a/concepts/conditionals/about.md +++ b/concepts/conditionals/about.md @@ -35,7 +35,7 @@ The else statement needs to be used with an if statement and cannot be used on i To declare an else statement you use the `else` keyword after an if statements curly braces, followed by the code to execute in curly braces. ```swift -Let precipitationInMM = 0.5 +let precipitationInMM = 0.5 if precipitationInMM > 0.5 { print("You will need an umbrella") } else { diff --git a/concepts/conditionals/introduction.md b/concepts/conditionals/introduction.md index d951d8d0f..3629c53d8 100644 --- a/concepts/conditionals/introduction.md +++ b/concepts/conditionals/introduction.md @@ -35,7 +35,7 @@ The else statement needs to be used with an if statement and cannot be used on i To declare an else statement you use the `else` keyword after an if statements curly braces, followed by the code to execute in curly braces. ```swift -Let precipitationInMM = 0.5 +let precipitationInMM = 0.5 if precipitationInMM > 0.5 { print("You will need an umbrella") } else { diff --git a/exercises/concept/vehicle-purchase/.docs/introduction.md b/exercises/concept/vehicle-purchase/.docs/introduction.md index 87d4a273b..650d76790 100644 --- a/exercises/concept/vehicle-purchase/.docs/introduction.md +++ b/exercises/concept/vehicle-purchase/.docs/introduction.md @@ -35,7 +35,7 @@ The else statement needs to be used with an if statement and cannot be used on i To declare an else statement you use the `else` keyword after an if statements curly braces, followed by the code to execute in curly braces. ```swift -Let precipitationInMM = 0.5 +let precipitationInMM = 0.5 if precipitationInMM > 0.5 { print("You will need an umbrella") } else {