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
You can put lists inside of lists. This allows for you to create dimensions like rows and columns. Come explore!
Code
travel_expenses = [
[5.00, 2.75, 22.00, 0.00, 0.00],
[24.75, 5.50, 15.00, 22.00, 8.00],
[2.75, 5.50, 0.00, 29.00, 5.00],
]
Learn More
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Leah Kelly
4,141 Points2 Answers
-
aaron roberts
2,004 Points2 Answers
-
PLUS
Luke Tate
Courses Plus Student 2,256 Points2 Answers
-
PLUS
Benyamin Kohanchi
Courses Plus Student 2,342 Points1 Answer
-
Jeremy Hall
2,048 PointsHow big of a list in Real World Applications would be considered too much?
Posted by Jeremy HallJeremy Hall
2,048 Points1 Answer
-
cory woods
2,568 Points1 Answer
-
Aizah Sadiq
2,435 Points1 Answer
-
Aizah Sadiq
2,435 Points2 Answers
-
Ryan McGuire
3,758 PointsHow would we iterate across the days if we wanted to sum up the expenses from all Mondays?
Posted by Ryan McGuireRyan McGuire
3,758 Points1 Answer
-
Ankush Sharma
844 Points1 Answer
-
PLUS
Charan sai
Courses Plus Student 797 Points1 Answer
-
Federico Lemaire
8,423 Points1 Answer
-
Kayc M
12,593 Points2 Answers
-
Iulia Maria Lungu
19,302 Points3 Answers
-
Alexander Salako
2,434 Points2 Answers
-
Devdatta Pattnaik
101 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