Python 3.9: List Manipulation

Veröffentlicht am: 25 Januar 2021
auf dem Kanal: BitCode
208
13

Welcome to another Python 3.9 tutorial video, this video is about list manipulation.

Lists in Python are ordered and have a definite count. The elements in a list are indexed and the index starts with 0.

Append - append/add elements to end of list
Insert - insert into list at specific index
Remove - removes the first matching element from the list
Count- counts the same number of elements present in the list
Sort - sorts the list from ascending to descending

List Slicing:
In-order to access a range of elements in a list, you need to slice a list. We can get a smaller list from the original list. One way to do this is to use the simple slicing operator i.e. colon(:).

Negative Indexing:
Python supports using negative numbers to index ' -1 ' means the last char, '-2 ' is the next to last, and so on.

Keyboard I Use: https://amzn.to/2NgjPFV

Playlist:   • Installing Python 3.9  


Auf dieser Seite können Sie das Online-Video Python 3.9: List Manipulation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer BitCode 25 Januar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 208 Mal angesehen und es wurde von 13 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!