Python – Basics
If you have no programming experience yet, then the following free materials are recommended to pass:

‣ Iakiv Kramarenko's book: Intro to Software Development (with examples in HTML, CSS, JavaScript).
Harvard's CS50 on edx.org
learnpython.org
‣ edx.org: Computing in Python I: Fundamentals and Procedural Programming

If you have experience in programming, but not with Python, then you can quickly get familiar with the language through:

‣ Fast intro to the language syntax: Learn X in Y minutes Where X=python
‣ Simple interactive tasks on the language syntax in the format of tests: Python Koans
‣ Guide from Brian Torres-Gil on env setup (pyenv + poetry) in Mac OSX: Definitive Guide To Python On Mac-OSX, ask google for similar materials for Windows or Linux, if actual;)
‣ The site and book from Okken Brian about pytest: Python Testing with pytest
‣ Classic videos about idiomatic Python: Transforming Code into Beautiful, Idiomatic Python, Python's Class Development Toolkit

In the remaining time, you can practice more and harden your skills using one of the following resources:

exercism.io: Python Track
CheckIO
repl.it: Python Auto-Graded Course with Solutions
CodinGame
codewars

Also, it will be more convenient for you if you will save versions of your code for solving certain problems - using version control systems. I recommend using git and one of its most popular servers – github.com. Here's a free tutorial on the topic: Github - Hello World.