Recommendations for learning how to code ai machine learning?

where can I go to learn python code I have been trying for weeks i just don't know where to start can anyone guide me in the right direction