I’m a total bigener in this space and i want to learn.

What are the best online courses to learn python? What else i need to learn to be able to develop a functional algorithm?