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
Lists have a literal syntax much like strings. Let's explore!
Learn more
Easter egg! In the REPL
type import this
and you'll see
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Waylon Harrison
5,561 Points2 Answers
-
Skylar Claypool
507 Points5 Answers
-
Crayton Smith
2,588 Points1 Answer
-
Jorge Delgado
1,460 PointsWhat's the difference between using () and [] for lists?
Posted by Jorge DelgadoJorge Delgado
1,460 Points3 Answers
-
Anthony Grodowski
4,902 Points4 Answers
-
Matei Soare
7,204 Points2 Answers
-
kelsang sherab
749 Points1 Answer
-
Dylan Latimer
1,188 Points3 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