Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update introduction.md #701

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions exercises/concept/wings-quest/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Swift has 3 [logical operators (`!`, `||`, `&&`)][logical-operators] which are u
### And(`&&`)

The [_and_ operator][and] in Swift is represented by `&&` and returns `true` if both values given are `true` otherwise it returns `false`.
When using the _and_ operator, one Bool be placed on the right side of the `&&` and another one on the left side.
When using the _and_ operator, one Bool is placed on the right side of the `&&` and another one on the left side.

```Swift
true && true // true
Expand All @@ -18,7 +18,7 @@ true && false // false

### Or(`||`)

The [_or_ operator][or] in Swift is represented by `||` and returns `true` if **at least one** of values given is `true` if both of the values are `false` then it returns `false`.
The [_or_ operator][or] in Swift is represented by `||` and returns `true` if **at least one** of values given is `true`. If both of the values are `false` then it returns `false`.
When using the _or_ operator one bool should be placed on the right side of the `||` and another one on the left side.

```swift
Expand All @@ -29,7 +29,7 @@ false || false // false

### Not(`!`)

The [_not_ operator][not] in Swift is represented by `!` and returns `true` if the given Bool is `false` and returns `false` if `true` is given.
The [_not_ operator][not] in Swift is represented by `!` and returns `true` if the given Bool is `false`, and returns `false` if `true` is given.
When using the _not_ operator one Bool should be placed after the operator (`!`).

```swift
Expand Down