Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 3: Introduction to Basic Data Types and Operations in Python!
Instruction
Comprehensive Guide to Strings, Formatting, and Operations in Python (Part One)
Quote Marks
A string is a sequence of characters enclosed by matching single ('
) or double ("
) quotes. For example, "Happy birthday!"
and '21'
are both strings.
To include a single quote ('
) in a string, enclose the string with matching double quotes ("
). For example: "Won't this work?"
To include a double quote ("
), enclose the string with matching single quotes (`'...