A study published in Nature claims that natural language skills are a better predictor of ability to learn programming (Python) than mathematical aptitude https://nature.com/articles/s41598-020-60661-8
(Fluid reasoning and working-memory capacity was the best predictor)