Join Barron Stone for an in-depth discussion in this video Parking with lists, part of Programming Foundations: Real-World Examples.
- Lists and tuples are two data structures…that you can use to store a collection of objects…in a specific order.…You can visualize a list as a row of objects…sitting in a line.…Every object in the list is indexed by a number,…and in the world of programming…numbering starts with a zero for the first item,…one for the next item, and so on down the line.…You can use these indexes to insert,…modify, and remove individual items from within the list.…- Hey, you're back from the store.…- Yup, and when I was there, parking my car,…I had a moment of brilliance.…
I figured out how I can explain lists.…- What do lists and cars have to do with one another?…- Olivia, that's a really good question.…Let me tell you a story.…In a lot of ways, you can think of a list of objects…like a row of parked cars.…The cars are in order, starting with the first car…on the end, which is at index number zero.…When I arrived at the store today,…I decided to append my car to the list…by parking at the end of the row.…To remember where I had parked,…
- Reusing functions
- Local vs. global variables
- Creating and naming custom objects
- Class inheritance
- Modules and packages
- Multidimensional lists and tuples
- Queues and stacks
- Creating and combining sets
- Storing data in dictionaries
- If/else and switch statements
- For vs. while loops
- Error handling
- Polling and event-driven programming
Skill Level Beginner
Programming Foundations: Design Patterns (2013)with Elisabeth Robson2h 19m Intermediate
3. Class Inheritance
4. Modules and Packages
5. Lists and Tuples
6. Queues and Stacks
9. Conditional Execution
11. Error Handling
12. Polling and Event-Driven Programming
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.