Loading…
rrous
Translation added |
|
None
String updated in the repository |
|
Loading…
rrous
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]
Musíte je odstranit shora dolů pomocí funkce [code]pop_back()[/code].
Váš kód by měl odstranit všechny bedny v poli pomocí cyklu while.
[b]Pozor!!![/b] Pokud neopatrně spustíte smyčku while, můžete program zablokovat.
Můžete kontrolovat, zda pole [code]crates[/code] stále obsahuje hodnoty, když napíšete [code]while crates:[/code].