
Looping through items in a list

![]() |
|
Some Things You Can Do With Lists
Find its length:

Find out if something is in a list:

Slice it:

Concatenate lists:

![]() |
|
More Things You Can Do
Reverse a list:

Sort a list:

Count items:

Convert a List to a String:
Use join which joins values in a list, with a separator. If you want no space, use quote marks with no space between as a separator ""


Convert a String to a List:
If you want each character as a separate list item, use list()

If you need a sentence split into individual words, use split()

![]() |
|














