List Operations

preview_player
Показать описание
MIT 6.0001 Introduction to Computer Science and Programming in Python, Fall 2016
Instructor: Dr. Ana Bell

This in-class exercise demonstrates more simple list operations in Python, including indexing, extending, sorting, and deleting.

License: Creative Commons BY-NC-SA
Рекомендации по теме
Комментарии
Автор

The step when we are executing L3.extend(L4), L4 being a list should be added to L3. But why have you added the elements of the list. Acc to me new L3 after this step should be ['do', ['re', 'mi']]. Please explain.

GauravKumar-eibt