Python - Lists Operations
Code Life
By Pierre Marsaa
List Operations
Now that you know how to add, remove, and analyze lists, let's learn some useful operations you can perform on them! In this chapter, we'll explore powerful tools for working with lists:
• min() and max() - Find the smallest and largest values
• sum() - Add up all numbers in a list
• + operator - Combine lists together
• * operator - Repeat lists multiple times
These operations will make working with your Codémon teams much easier and more powerful!
Verify