I'm trying to create a dict in the following scenario
One list to save jobtype(s)
JOB_TYPE_LIST = ["PARTTIME", "FULLTIME", "WFH"] Corresponding list to each jobtype
PARTTIME_GROUP_LIST = ["PTGroup2", "PTGroup3"] FULLTIME_GROUP_LIST = ["FTgroup1", "FTgroup2"] WFH_GROUP_LIST = ["WFHgroup"] Expected dicts
dict { "PTGroup2": "PARTTIME", "PTGroup3": "PARTTIME", "FTgroup1": "FULLTIME", "FTgroup2": "FULLTIME", "WFHgroup": "WFH" } My current way to create this dict is do it manually. However, I would like to create this dict in a more pragramming way. Otherwise, every time I add a new jobtype and the corresponding list, I need to manually modify the dict.
Thanks in advance!