Skip to content

Commit

Permalink
id del hash
Browse files Browse the repository at this point in the history
  • Loading branch information
dcsibon committed Nov 15, 2024
1 parent ab11df9 commit a2f8819
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pruebas/dam1_dic_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ def main():
mi_conjunto = {"perro", "gato", "loro"}
mi_diccionario = {"clave1": "valor1", "clave2": "valor2"}

print(id(mi_conjunto))

return

print(", ".join(mi_lista)) # "a, b, c"
print(" | ".join(mi_tupla)) # "x | y | z"
print(" - ".join(mi_conjunto)) # "perro - gato - loro" (orden no garantizado)
Expand Down

0 comments on commit a2f8819

Please sign in to comment.