Please enable JavaScript to use CodeHS

Utah Introduction to Python 1 and 2

Lesson 5.3 Strings

Description

In this lesson, students will dive deeper into the Strings data type, learning how to concatenate strings and use escape sequences.


Objective

Students will be able to:

  • concatenate strings together to form more complex messages
  • use escape sequences to:
    • split commands onto multiple lines
    • print quotation marks inside strings
    • add new lines to strings