Does python need a mathematical foundation?
No, Python is relatively simple, and it is not mandatory to have a math foundation when learning, so it doesn't matter if you are not good at math. I am a Python practitioner who switched from zero to zero. I used to work in administration, but I didn't feel very profitable. Then I changed to Python. I studied in old boys and have been a student for more than 20 years. I graduated a long time ago.