Print array Print list
Category: List
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
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).
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
Debug lists
Output to console
.List general
Create a list Multiple data types A list can contain different data types 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 also strings alphabetically How many times does […]