If I was starting with Python again, ChatGPT would be a perfect partner for it. It can write loops, functions and much more for you. Quite insane. And it is applicable for so many use cases. Try it and you will see.