
![]() | Dictionary = array with a text as index |
![]() | Also called hash or associative array in other languages |
![]() | Can store 'anything':
prm['damping'] = 0.2 # number
def x3(x):
return x*x*x
prm['stiffness'] = x3 # function object
prm['model1'] = [1.2, 1.5, 0.1] # list object
|
![]() | The text index is called key |