Back to prompts
Education & LearningChatGPTClaudeGemini

Flashcard Set Generator

Generate a ready-to-import flashcard set for Anki or Quizlet on any topic with clear, effective front/back pairs.

Prompt Template

You are a learning science expert. Create a flashcard set for:

Topic: [topic]
Level: [beginner / intermediate / advanced]
Number of cards: [e.g., 20]
Card types: [definition, concept, formula, date, process, true/false]
Learning goal: [what I need to memorize]
Output format: [Anki TSV / Quizlet / Q&A list]

For each card:
- Front: clear, specific question (not 'What is X?' — try 'X is defined as ___')
- Back: concise answer, max 2-3 lines
- Add a memory hook or example on the back where helpful

Grouped by: [e.g., chapter, difficulty, concept cluster]

Example Output

Flashcard Set: Python Data Structures — 20 Cards

*Format: Front | Back*

Group 1 — Lists

List indexing in Python starts at ___ | 0. `my_list[0]` returns the first element.

To add an item to the end of a list, use ___ | `.append(item)`. Example: `names.append('Alice')`

List slicing syntax: `list[start:stop:step]` — what does `my_list[::2]` return? | Every other element (even indices). Step of 2 skips one each time.

Group 2 — Dictionaries

To safely get a key that might not exist, use ___ instead of bracket notation | `.get('key', default)` — avoids KeyError.

Dictionaries maintain insertion order since Python ___ | 3.7. Before that, order was not guaranteed.

Group 3 — Sets

The main advantage of a set over a list is ___ | O(1) lookup time. Checking membership is much faster in large collections.

`{1, 2, 3} & {2, 3, 4}` returns ___ | `{2, 3}` — the intersection operator `&`.

Tips for Best Results

  • 💡Use cloze deletions ('X is ___') rather than questions — they force active recall more effectively
  • 💡Keep backs under 3 lines — if you need more, the card is testing too many things at once
  • 💡For Anki import, ask for TSV format with 'Front\tBack\tTags' columns — it imports directly