I\'m using PyCharm to write my code in and then with Jupyter I have to pass some tests required.
However, the same piece of code that provides a perfect working solut