Aug-07-2019, 07:41 PM
(Aug-07-2019, 05:25 PM)ichabod801 Wrote: temp['id'] = id # store id in the new dictionary (key = 'id')
So if you state dictionary['string'] = 'string', Python will insert your string in the line you are on in the iteration? In other words, It is stating the string 'id' is == to the var id from the previous line because dictionaries are key/value pairs and the key == the value?