Key Concepts

Review core concepts you need to learn to master this subject


user = "User Full Name" game = 'Monopoly' longer = "This string is broken up \ over multiple lines"

A string is a sequence of characters (letters, numbers, whitespace or punctuation) enclosed by quotation marks. It can be enclosed using either the double quotation mark " or the single quotation mark '.

If a string has to be broken into multiple lines, the backslash character \ can be used to indicate that the string continues on the next line.