Loading…
MatthijsBlom
Translation added |
|
None
String updated in the repository |
|
Loading…
MatthijsBlom
Translation added |
|
None
String updated in the repository |
|
You need to remove them from top to bottom using the array's [code]pop_back()[/code] function.
Your code should remove all the crates in the array using a while loop.
[b]Careful![/b] if you run a while loop carelessly, you can lock the software.
You can check if the [code]crates[/code] array still contains values by writing [code]while crates:[/code]
Je moet ze van boven naar beneden verwijderen met de functie [code]pop_back()[/code] van de array.
Je code moet alle kratten in de array verwijderen met behulp van een while-lus.
[b]Voorzichtig![/b] Als je een while-lus onvoorzichtig uitvoert, kun je de software vast doen lopen.
Je kunt controleren of de array [code]crates[/code] nog waarden bevat door [code]while crates:[/code] te schrijven.