AI guidelines for the course
It is strongly preferred that you do not use AI in the course. The skills you need to acquire are best acquired by your own effort or perhaps in a discussion with a fellow student or TA/teacher.
However, a proper responsible use of AI can to some extent replace a discussion with a fellow human.
The purpose of AI in the course is to help you learn - not to solve your problems for you - possibly (likely) in a way you do not understand.
Good use
Query the AI for knowledge: Asking questions like "how does this function/method work?", "what is the significance of this?", "explain that" "why is this a good/bad idea" are good types of questions. They help you learn.
Bad use
Query the AI for solutions: Asking questions like "how do I do this?", "can you make python code that does this?" simply solves a problem for you - likely in a way that is not intended in the course progression and you do not really understand, because it is either outside or too early in the curriculum.