The [Jupyter Notebook](https://jupyter.org/) is a great place to start coding.
That said, [there are good reasons not to use Jupyter Notebooks](https://youtu.be/7jiPeIFXb6U?si=c8rVXdWnFq-W4LV2). Jupyter Notebooks don't run like scripts, but rather allow you to run code in an arbitrary order. This can be incredibly confusing for people new to coding and for experienced software developers.
- Notebooks are a recipe for poorly factored code
- There is no way to manage environments in notebooks, good luck with running your code again in a year
I recommend using Jupyter Notebooks to start coding since they are so easy for beginners. BUT, you should move away from notebooks to build well-architected software as soon as you feel able. Otherwise you will probably develop bad habits and you'll never actually learn the art of programming. Come back to Jupyter Notebooks when you're ready because they are amazing tools for the right job.