This example shows how to display elements in a tuple.
Create a Python® tuple and display the first two elements. MATLAB® returns a tuple.
t = py.tuple({'a','bc',1,2,'def'}); t(1:2)
ans = Python tuple with no properties. 'a', 'bc'