In this lesson, you will learn about the difference between strings and lists, how to perform operations on these objects, and how to call various elements inside of these objects.
###Objectives ###
By the end of this lesson, you will be able to:
- Understand what strings are.
- Manipulate strings within Python using various operators, such as
in
,for
loops and theif
comparison operator. - Understand what lists are, and how their output is organized.
- Understand how to call one element of a list
- Manipulate lists using list operators.
Approximately 2 hours.
- Chapter 8-10 Think Python
- Chapters 2.4 and 4 from Dive Into Python
- Exercises 6, 32, 34, and 38 in Learn Python the Hard Way
- Chapters 4 and 6 in Automate the Boring Stuff with Python
When you have completed and worked through the above readings, please take the Week 4 Lesson 2 Assessment.