script for converting list to python dictionary
fixed a type
added indentation
added seperator between values