They are both good for beginners and hugely popular.
What they differ in is, what you can do with them
Python excels in applications for data science and machine learning, with many packages developed for this particular field, so you might simply decide based on this.
If your in doubt and you cannot decide, I would study the one that’s taught at your school or the language that’s used to build the things you want to build. Or used at the company you want to work for.