Python List Explorer (original) (raw)
Find the List method you need without digging through the docs
I have a List. I would like to:
Create a List
A new list can be created by using the literal constructor [].
List can contain different types of objects.
Code
` # Create a List
nums = [2, 3, 4, 5]`