Learn Swift: Conditionals and Loops

Start

Why Learn Swift: Conditionals and Loops?

Continue your Swift learning journey! Learn how to use Swift’s conditionals to set up logical decision-making programs that can address real-world scenarios. Then take on loops to handle repetitive tasks. This course will give you the tools you need to make flexible and dynamic programs!

Take-Away Skills

By the end of this course, you will be able to:

  • Control the program flow using if, else if, else, switch, and the ternary conditional operator.
  • Create decision-making programs using comparison and logical operators.
  • Implement loops to automate repetitive tasks.

Notes on Prerequisites

We recommend that you complete Learn Swift: Variables before completing this course.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Learn how to develop complex programs in Swift with conditionals and logical operators.
  2. 2
    Make the most repetitive tasks easier by learning Swift loops!

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo
testimonial

— Madelyn, Pinterest

I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.

Course Description

Continue your Swift journey by learning conditionals and loops!

Details

Earn a certificate of completion
6 hours to complete in total
Beginner

Learn how to develop complex programs in Swift with conditionals and logical operators.

1 lesson, 1 quiz, 3 projects, 1 informational