Changed name of set_generator method to dict_gen, updated the doctring and added a conditional statement to ensure multiple values are added to dicts.
Changed name of set_generator method to dict_gen, updated the doctring and added a conditional statement to ensure multiple values are added to dicts.

UWPCE-PythonCert/IntroPython2016,Baumelbi/IntroPython2016,Baumelbi/IntroPython2016,weidnem/IntroPython2016,UWPCE-PythonCert/IntroPython2016,weidnem/IntroPython2016,weidnem/IntroPython2016,UWPCE-PythonCert/IntroPython2016