> For the complete documentation index, see [llms.txt](https://felienne.gitbook.io/codasium/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://felienne.gitbook.io/codasium/module-2.1-pygame-quiz/les-5.md).

# Les 5

## Slides

[Module PyGame Quiz, les 5](https://slides.com/felienne/python-klas-2-module-1-les-5)

## Leerdoelen

* Herhalen van gebruik variabelen (in deel a)
* Herhalen van if

## Instructies voor de leerkracht

In deze les blikken we weer even terug op variabelen en if's zodat de muiskliks verder verwerkt kunnen worden met 'gewone' Python, zonder PyGame.

## Eindprogramma

Op het einde van de les zouden leerlingen ongeveer [dit programma](https://repl.it/@mevrHermans/Pidk-M4-L5a-einde) moeten hebben. Niet alles aan dat programma is al perfect, en het is prima als leerlingen dat ook zien!&#x20;

De "goede" problemen zijn, die erbij horen:

* Als er nog niks is aangeklikt komt al "Helaas, geen is niet goed" in beeld
* Het gekozen antwoord blijft in beeld geprint worden
* Het duurt even voor je weer mag klikken

Leerlingen kunnen zeker al kunnen nadenken hoe dat komt, en hoe je dat kan oplossen. Hierbij helpen gerichte vragen. Opdracht 4 voor iedereen helpt leerlingen goed reflecteren op het programma, opdracht 5 laar snellere leerlingen ook over de oorzaken nadenken.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://felienne.gitbook.io/codasium/module-2.1-pygame-quiz/les-5.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
