Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Now that we have stuff in our list, how do we access specific elements. Through indexing! Let's explore.
Code
books = [
"Automate the Boring Stuff with Python: Practical Programming for Total Beginners - Al Sweigart",
"Python for Data Analysis",
"Fluent Python: Clear, Concise, and Effective Programming - Luciano Ramalho",
"Python for Kids: A Playful Introduction To Programming - Jason R. Briggs",
"Hello Web App: Learn How to Build a Web App - Tracy Osborn",
]
Learn more
- PEP8 - When to Use Trailing Commas (Immerse yourself...reminder, it's okay if you don't understand everything!)
- Great StackOverflow Answer on why to use trailing commas
For Fun
- Rapping Raisins - Books, Check 'em out (Yes, that is Sir Mix-A-Lot)
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
MightyIronElf 15
2,359 Points1 Answer
-
ja5on
10,338 Points5 Answers
-
komilataev
282 Points2 Answers
-
Alan Azizov
2,066 Points2 Answers
-
K Adam
497 Points1 Answer
-
Amrutha Satti
721 Points2 Answers
-
Elena Chen
1,503 PointsWhen should we run a python -i. wishlist.py instead of python wishlist.py.
Posted by Elena ChenElena Chen
1,503 Points2 Answers
-
Simon Bazso
1,162 PointsHow can I make hard bracket command? "Python - Lists" (Swedish keyboard)
Posted by Simon BazsoSimon Bazso
1,162 Points2 Answers
-
Servicios Adquiridos SA de CV
886 Points4 Answers
-
teresemartyn
Front End Web Development Techdegree Graduate 23,576 Points3 Answers
-
sathish
5,697 Points3 Answers
-
Igor Dias
5,155 PointsProblem adding an iten in the end of the list using insert
Posted by Igor DiasIgor Dias
5,155 Points3 Answers
-
Idrees Richard
166 PointsHi All,What is actually the purpose of the .format () command? I did some researching online and cant seem to understand
Posted by Idrees RichardIdrees Richard
166 Points2 Answers
-
Ali AlRabeah
909 Points1 Answer
-
PLUS
Sanjay Devadkar
Courses Plus Student 1,016 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up