Good for developing ideas that you can add small code fragments gradually and see results immediately. And if it gets big enough, chances are that you have a good idea that makes it worth the time to refactor your notebook into production code.
Then I can easily put them into a Python file and import them from the notebook.
Easy peasy and very nice for iterative development.