Tutorial 12.2 - Tutorial on pseudocode for lists and dictionaries
Tutorial 12.2 - Tutorial on pseudocode for lists and dictionaries
Venkatesh
Department of Computer Science Indian Institute of Technology Madras
Chennai Mathematical Institute
4 1 4 [2, 3, 4] [1, 2, 3]
[1, 2, 3, 4]
integer integer integer list list
3 [1, 2, 3] [1, 8, 27] [[1, 4, 9], [1, 8, 27]] [[1, 2, 3], [1, 4, 9]]
[[1, 2, 3], [1, 4, 9], [1, 8, 27]]
integer list list list list
{"a": "A", "b": "B", "c": [{"a": "A", "b": "B", "c":
[{1: 1, 2: 4, 3: 9}, 2 {1: 1, 2: 4, 3: 9} [{1: 1, 2: 4, 3: 9}]
"C"} "C"}]
{"a": "A", "b": "B", "c": "C"}] integer dictionary list
dictionary list