Loading…
Fettenderi
Translation added |
|
None
String updated in the repository |
|
Loading…
Fettenderi
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]
Devi rimuoverle dall'alto verso il basso usando la funzione per array [code]pop_back()[/code].
Il tuo codice dovrebbe rimuovere tutte le casse nell'array usando un ciclo while.
[b]Fa attenzione![/b] se esegui un ciclo while incautamente, potresti bloccare il programma.
Puoi controllare se l'array [code]crates[/code] contiene ancora dei valori scrivendo [code]while crates:[/code].