Here is the question: -

DS LAB

Create a function manipulate_data that does the following

Accepts as the first parameter a string specifying the data structure to be used “list”, “set” or “dictionary”

Accepts as the second parameter the data to be manipulated based on the data structure specified e.g [1, 4, 9, 16, 25] for a list data structure

Based off the first parameter

```
return the reverse of a list or
add items `"ANDELA"`, `"TIA"` and `"AFRICA"` to the set and return the resulting set
return the keys of a dictionary.
```

This my answer:-

def manipulate_data(result = “dictionary”, data = {“a”: “1”, “b”: “4”, “c”: “9”, “d”: “16”, “e”: “25”}):

ke = list(data)

return result, ke

and the screenshot will test any of the data structure and i can’t seem to get it correct or maybe i didn’t the question.