Woohoo! You have written a few Swift programs. 🙌

In this lesson, you have learned:

  • Swift is a general-purpose coding language.
  • The code is read from top to bottom.
  • print() is used to output to the terminal:
print("This... is... fun.")
  • Single line comments are created using //.
  • Multiline comments are created using /* */.



Before we move on, let’s write a letter to your future self.

In Letter.swift, let’s add the following:

  • Goal(s) for yourself.
  • Name and date.

Click Run to mail the letter! 📬

P.S. This letter will be returned when you complete the course.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?