Python - 14

Python - 14: Working With Lists

Lists have built-in tools called methods that let you add, remove, and organize data.

✦ Python Editor
▶ Output

👀 Show Example Solution
games = ["Cyber Drift", "Star Clash", "Mystic Arena"]

games.append("Battle Forge")

print(games)

games.remove("Star Clash")

print(games)

print(len(games))

for game in games:
    print(game)