📦 Arrays in Python (Lists)

1. 1D Arrays (One dimension)

students = ["Patrick", "Jane", "John"]
print(students[0]) # Output: Patrick

2. 2D Arrays (Rows & Columns)

Think of this as a table or a grid.

# [Name, Score]
class_data = [
    ["Patrick", 95],
    ["Jane", 88]
]
print(class_data[0][1]) # Output: 95