@kaushik94 Thanks for trying to fix this issue. As @debugger22 said you should add a doc-string with some examples and some tests.

 Your code has some issues please fix them. I have to pass an actual list of variables to the method. So, the current input methods is `<set>.as_dict([x, y])` rather than `<set>.as_dict(x, y)`. Then your code doesn't work for single symbol.

And your code has trailing white-spaces. You can remove them by the utilities provided in `bin`, run `./bin/strip_whitespace <file_name>`. Better configure your text editor to highlight trailing whitespaces. For vim you can follow this wiki.