Creates a python dictionary.
pyDict(key1, val1, key2, val2…)
1st Key Value
Corresponding value for key referred as key1.
Creates and returns a python dictionary containing the key-value pairs passed. Arguments can be of type int, double, string, bool or python variable. Python variables passed for keys must be hashable.
startPy Y = pyDict("hello", "world") disp(Y("hello")) quitPy | ![]() | ![]() |