List comprehension

Combines a for loop into the creation of a new list based on an existing list. Adding conditional arguments if You simply add an if statement to the end: if else Examples Create list with 100 entries of 0 Create list with 100 random entries

Read More

Zip() function

The zip function can be used to combine two lists together into a zip object. What it actually does is create tuples (an immutable type of list).

Read More

Multidimensional lists

Create multidimension list Python lists can contain a different list for any time, so you can create lists as nested as you like! Access list items Manipulate multidimensional lists Remove sub item

Read More

.List general

Create a list Multiple data types A list can contain different data types Adding to a list Accessing list elements Multi dimension lists See here Access list items Get a slice of list items Manipulate lists Add list items Joins 2 lists / concatenate Remove list item Length Sort List You can sort values and […]

Read More