Lakea currently loops through dictionaries by looping through the keys and accessing the value through a look up. This should be optimised using the dictionary.items() function which returns both the key and value removing the additional look up function. I.E.
'''
for key, value in dictionary.items():
//code
'''
Acceptance Cirteria:
Dictionary loops are optimised using the code given above
This hasn't been applied to the dnd_message_builder() function as it seems to cause issues when trying to call functions. It should be considered for future loops using dictionary loops
Lakea currently loops through dictionaries by looping through the keys and accessing the value through a look up. This should be optimised using the dictionary.items() function which returns both the key and value removing the additional look up function. I.E.
''' for key, value in dictionary.items(): //code '''
Acceptance Cirteria: