Let's combine lists with loops to create something fun — a mixtape!
The + operator can concatenate (join) two lists:
list_a = [1, 2, 3]
list_b = [4, 5, 6]
combined = list_a + list_b
print(combined) # [1, 2, 3, 4, 5, 6]
Fill the mixtape list, use enumerate(mixtape, 1) to loop with numbers, and len(mixtape) for total.
⚠️ Try solving it yourself first — you'll learn more!
list_a = [1, 2, 3]
list_b = [4, 5, 6]
combined = list_a + list_b
print(combined) # [1, 2, 3, 4, 5, 6]