I have this object:
dvalues = [{'column': 'Environment', 'parse_type': 'iter', 'values': ['AirportEnclosed', 'Bus', 'MotorwayServiceStation']}, {'column': 'Frame Type', 'parse_type': 'list', 'values': ['All']}]
I want a zipped output like this:
('AirportEnclosed', 'All')
('Bus', 'All')
('MotorwayServiceStation', 'All')
so far the nearest I have got is with the below:
for d in dvalue:dv = d['values']zip_list = zip(dv, d['values'])for z in zip_list:print(z)
Which gives me this as an output:
('AirportEnclosed', 'AirportEnclosed')
('Bus', 'Bus')
('MotorwayServiceStation', 'MotorwayServiceStation')
('All', 'All')
What do I need to change to get the desired output?