Ap compsci a for a beginner?

I just enrolled for my next year classes, instead of taking regular precalc, I decided to take a math category ap class at my school which as the title says it's ap comp science a. I don't have a lot of coding knowledge, I did take a cyber security course and enjoyed it a lot. Did I make the right choice or am I cooked? I've always been in the regular level math classes but I decided to be boldn for my senior year.