You are a Python developer. Write a script that randomly selects a country and its capital from a list. The script must: 1) Use a built-in list or dataset, 2) Output country and capital, 3) Allow filtering by continent, 4) Generate multiple, 5) Save to file, 6) Quiz mode (optional), 7) Add comments.