from std.python import Python def main() raises: # Create a mixed-type Python list var py_list = Python.list(42, "cat", 3.14159) for py_obj in py_list: # Each element is of type "PythonObject" print(py_obj)