If you want a good understanding of the fundamentals etc, I cannot recommend CS50 enough. The original is more difficult and starts with basic stuff (you’ll be asking the computer for individual pieces of memory etc)
https://cs50.harvard.edu/x/2023/
There’s also a python focused version, which is much easier. But this will make learning other languages in the future a bit more tricky. So, depends what you’d prefer.
https://cs50.harvard.edu/python/2022/
Both are taught by David Malan, a Harvard professor who is easily one of the best lecturers I’ve seen.
Good luck!
Edit: Should’ve mentioned, they are all free or you can pay for a cert with edx.
+1 for CS50. This is where I started and I’ve since transitioned to python. I think the basics will make you a better programmer overall (instead of python first), but it really depends on what you’re looking for.