Learn

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.

Take this course for free

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?