Receba novas skills de Dados e Análise toda segunda
1 email curto, só com as skills novas de Dados e Análise. 4 minutos de leitura, sem spam, cancela com 1 clique.
Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.
Ler descrição completaRecolher descrição
Variables
Pitfalls
Variables point to objects, not boxes:alias = original does not copy the value — both names point to the same object. For strings and numbers this does not matter (they are immutable). For lists and dictionaries it does — modifying through one name changes what the other name sees.
Reassignment vs. mutation:seq = seq + "AAA" creates a new string and points seq to it. The original string is unaffected. This is different from my_list.append("AAA"),
[Description truncada. Veja o README completo no GitHub.]