-
-
Notifications
You must be signed in to change notification settings - Fork 159
[Swift 6]: Rework for-loops concept #824
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
base: main
Are you sure you want to change the base?
Conversation
Hello 👋 Thanks for your PR. This repo does not currently have dedicated maintainers. Our cross-track maintainers team will attempt to review and merge your PR, but it will likely take longer for your PR to be reviewed. If you enjoy contributing to Exercism and have a track-record of doing so successfully, you might like to become an Exercism maintainer for this track. Please feel free to ask any questions, or chat to us about anything to do with this PR or the reviewing process on the Exercism forum. (cc @exercism/cross-track-maintainers) |
This pr depends on another pr being merged first |
concepts/for-loops/about.md
Outdated
for number in numbers { | ||
number + 1 | ||
} | ||
number + 1 // Error: Use of unresolved identifier 'number' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
number + 1 // Error: Use of unresolved identifier 'number' | |
number + 1 | |
// Error: Use of unresolved identifier 'number' |
```swift | ||
let birdsPerDay = [2, 5, 0, 7, 4, 1, 3, 0, 2, 5, 0, 1, 3, 1] | ||
totalBirdCount(birdsPerDay) | ||
// returns 34 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// returns 34 | |
// Returns 34 |
Addition of a dedicated exercises for for-loops