Skip to Content
Learn
Hello World
Review

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 /* */.

Instructions

1.

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.

Folder Icon

Take this course for free

Already have an account?