How to turn off AI generated code?

Just want to learn coding but

feels like cheating in exam lol