Summary

In this chapter, you learned about lists, defining a list, and using a list. You also learned various list operations, such as accessing and slicing of lists. In the list functions, you learned some generic functions that can be applied to lists. You also learned list methods specific to the list. By using list methods, you learned about sort, reverse, pop, append, and extend methods. Finally, you learned how to use a list with the for loop and how to write one-line code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.146.34.146