# Les 1b

**Opdracht 1) Ophalen uit een dictionary**

Ga naar [deze replit](https://replit.com/@mevrHermans/pidk-k3-m3-l1b1) en maak de code af zodat er eerst **Hallo Piet de Vries** geprint wordt.

Maak dan de code helemaal af door de hekjes weg te halen, en zorg dat er ook **Achmed el Hamoui** geprint wordt.

**Opdracht 2) Dictionary invullen**

Ga nu naar [deze replit](https://replit.com/@mevrHermans/pidk-k3-m3-l1b2) en maak de code weer in twee stapjes af. Zorg eerst dat **Het spel voetbal speel je met 22 spelers** geprint wordt.

Maak dan de code helemaal af door de hekjes weg te halen, en zorg dat er ook **Het spel schaken speel je met 2 spelers** geprint wordt.

**Opdracht 3) Quizdata inlezen uit een bestand**

Ga naar [deze replit](https://replit.com/@mevrHermans/pidk-k3-m3-l1b3) en vul de codes op de streepjes aan, zodat de vragen weer goed uitgeprint worden. Er moet dus steeds geprint worden:\
\
"Vraag 1 is ..." en dan op de stipjes de vraag.

Tip: Kijk goed in de csvfile hoe de kolommen heten!

**Opdracht 4) Woordjesdata inlezen**

We gaan nu een begin maken met de woordjesoefenapp! Ga naar [deze replit](https://replit.com/@mevrHermans/pidk-k3-m3-l1b4#main.py) en lees het bestand met woorden in. Je moet zorgen dat het woord steeds geprint wordt, en na een paar tellen het bijbehorende antwoord. Voor die pauze staat al een `time.sleep(1)` in de code.

Is de pauze te kort voor jou? Verander dan de 1 in een hoger getal.


---

# Agent Instructions: 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:

```
GET https://felienne.gitbook.io/codasium/module-3.2-woordenoefenapp/les-1/les-1b.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
