Quiz: Say When It Helped
Programs you write for school are often graded, and schools have rules about AI: some allow it for some tasks and not for others, and many ask you to say when you used it. Find out your school's rules, and ask your teacher when they don't say. When the AI helped, say how: what it explained, which code came from it and what you changed. And hand in only code you can explain, line by line, whoever wrote it.
Your homework is a program that prints a week's report. You wrote it yourself, an AI explained a mistake in your loop, and you took one function from its answer. Your teacher allows AI if you say how you used it. What do you do when you hand it in?