List
What is a List?
Create List
name = ["KT", "Baz", "Sashi", "Samu"]print(name) # Shows the whole list
print(type(name)) # Tells you it's a <class 'list'>
print(len(name)) # Counts the number of items (4)Accessing List Items
Slicing Lists

Adding an Item

Removing an Item

Why Use Lists?
Last updated