4.1.1 Creating Strings & Immutability

Unit: Unit 4: Strings, Lists, and Tuples • Interactive Practice

Quick Answer & Summary:

Interactive Python programming tutorial and practice in your browser.

Interactive Challenge (Run Live in Browser):

# Create single-line and multi-line strings
book_title = "The Pragmatic Programmer"
author = 'David Thomas'
description = """A classic book on software engineering
craftsmanship and architecture."""

print("Title:", book_title)
print("Author:", author)
print("Description:", description)
Open in Live Interactive Python Sandbox →