
Daniel S. answered 07/28/20
Software Engineer and Johns Hopkins Computer Science Grad
Hi Alwin,
Here's how I would do it in Python:
Because you are printing the results of a function call in your example, the function would need to return 'mydict'