Swift Playground

I have completed 9 lessons on Swift Playground. They were Branch Out, Loop Jumper, To the Edge and Back, Looping All the Sides, Using Loops, Treasure Hunt, Slotted Stairways and Nesting Patterns. These lessons taught me to use loops and functions. To create loops and functions you need to find a pattern. Some patterns are Read More…

Swift Playground: learn to code 1

This lesson was challenging because I could not use the same loop. Instead, I was required to identify what the pattern was and write a code that followed that pattern. To find the pattern, I wrote the entire code using single command. Then, I realized that there was a pattern and I could simplify my Read More…