mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Corrected code results in comments
In subsection on hash tables.
This commit is contained in:
parent
a3e68ea324
commit
3ea060e936
@ -150,8 +150,8 @@ table[["Vert"]] (* 2, l'utilise *)
|
||||
table[["Vert"]] := 5 (* 5, la modifie *)
|
||||
table[["Bleu"]] := 3.5 (* 3.5, l'étend *)
|
||||
KeyDropFrom[table, "Vert"] (* Supprime la clé "Vert" *)
|
||||
Keys[table] (* {Rouge} *)
|
||||
Values[table] (* {1} *)
|
||||
Keys[table] (* {Rouge, Bleu} *)
|
||||
Values[table] (* {1, 3.5} *)
|
||||
|
||||
(* Pour finir, toute bonne démonstration du langage Wolfram contient un
|
||||
Manipulate ! *)
|
||||
|
Loading…
Reference in New Issue
Block a user