If you're a total beginner, a Python foundations course breaks down basics. Or Python Turtle for basic commands and how to code to draw.
There are notable exceptions, of course. Some Python libraries like statsmodels were designed ... At this point, you should have a good understanding of the underlying statistics and should be able to ...