Description Usage Arguments Value
Takes a list serving as a dictionary and appends a string to the key of each list Suppose we have 'dog = list(legs = 4, smell = good)' flattenList('DOG', list(legs = 4, smell = good)) return list(DOGlegs = 4, DOGsmell = good)
1 | flattenList(first.key, values)
|
first.key |
the new key string to append |
values |
the list serving as a dictionary |
new.list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.