Cosmetic suggestions

Good job, Sonam. :sparkles: 

This pull request contains mostly cosmetic suggestions. My comments are:

* Less unnecessary parenthesis :wink:
* Watch your whitespace :space_invader:  

Overall, the solutions are correct. The last question is quite challenging, so included my answer so you can compare.