d'après mon interprétation de la doc pour del ("Deletion of a name removes the binding of that name from the local or global namespace, depending on whether the name occurs in a global statement in the same code block."), je pense qu'on peux voir del bla comme un sucre syntaxique pour del locals()["bla"]
[^] # Re: réponse 4
Posté par jtremesay (site web personnel) . En réponse au journal le défi du challenge : qu'affiche ce code. Évalué à 3.
d'après mon interprétation de la doc pour
del("Deletion of a name removes the binding of that name from the local or global namespace, depending on whether the name occurs in a global statement in the same code block."), je pense qu'on peux voirdel blacomme un sucre syntaxique pourdel locals()["bla"]E.g.: