A three-year pilot study investigated the effectiveness of artificial intelligence (AI) as a motivational tool for teaching programming concepts within the Croatian Informatics curriculum. The study was conducted in schools through the extracurricular activity EDIT CodeSchool with the Development of…