I am new to AI and to programming
You have not written much code yet. You want to understand what AI is before you build anything.
Start with: What AI, machine learning, deep learning and generative AI are
Then follow Parts 1 to 3 in order. Read the plain-words sections and the maths moments; run the code when you feel ready.
Nothing to skip. Take your time with Part 1.