In this course, you’ve reviewed what you learned in Python Basics: Lists and Tuples. You’ve used Python lists and tuples to store collections of objects, and you’ve gained a stronger understanding of the best use cases for each data type.
In this video course, you’ve practiced:
- Defining and manipulating lists and tuples in Python
- Leveraging the unique qualities of lists and tuples
- Determining when you should use lists vs tuples
Now you have an even stronger grasp of Python lists and tuples, and you’re ready to effectively incorporate them into your own programming projects.
For more on lists and tuples, check out:
- 📰 Lists and Tuples in Python
- 🎬 Lists and Tuples in Python
- 📰 Python’s
list
Data Type: A Deep Dive With Examples - 📰 Python’s
tuple
Data Type: A Deep Dive With Examples
You can learn more about various operations with the following resources:
- 📰 Python’s
.append()
: Add Items to Your Lists in Place - 🎬 Building Lists With Python’s
.append()
- 📰 Reverse Python Lists: Beyond
.reverse()
andreversed()
- 📰 How to Flatten a List of Lists in Python
This video course is part of the Python Basics series, which accompanies Python Basics: A Practical Introduction to Python 3. You can also check out the other Python Basics courses.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
alvesmig on Feb. 8, 2024
Hello, my solution is almost the same as yours.
I have a question: Which one is better, yours which is written completely in a function or mine which only uses a little function to get the article?
Best regards Miguel
Here is my solution: