filmov
tv
Python Lists | a complete tutorial
Показать описание
This video tutorial is on python lists and how to work with them.
contents:
0:12-Introduction to list.
1:48-Different methods to create lists.
1:50-Empty List.
2:00-List of strings.
2:10-List of numbers.
2:18-List of numbers using list comprehension
(using for loop).
2:44-List of numbers using range.
2:55-Creating a list of even numbers less than
10 using list comprehension.
3:18-Creating a list of even numbers less than
10 using range.
3:36-Creating List from comma separated strings.
4:04-Put all characters in a string to list.
4:30-Put each digit in an integer to list.
4:53-Convert the dictionary key or value to list.
5:49-Built-in functions for lists in python.
the end of the list.
list to another list.
particular location.
element from the list.
or descending order.
11:27-len method to get the length or number of items in a list.
11:53-min and max functions to find the minimum or maximum
value in a list.
appears in the list.
13:20-To check if an item exists in the list.
13:52-indexing the python list.
14:00-fetch the first element.
14:27-get the last item.
15:04-Slicing (fetching specific portion of our list) examples.
15:56-slicing with increment or skipping.
16:45-Slicing in reverse order.
17:25-reversed function to iterate a list in reverse order.
18:28-Slice Assignment to insert or replace items of one
list inside another list at a particular location.
19:25-remove elements using slicing assignment.
19:41-how to copy list, understand why copying
a list is tricky.
22:40-copy list using deepcopy.
23:16-for loops on lists.
24:05-join all the contents in the list in to a string.
24:55-convert a list of lists in to a flat list.
25:46-see if list has duplicate elements.
26:40-shift or rotate the list
Комментарии