CommencerCommencer gratuitement

Improving code with prompt iteration

While maintaining your Python project for student records, you asked an AI model to generate a function that adds new students to the project.

The function works, but it doesn’t check for issues like duplicate IDs or missing required fields.

What should you do to improve the function?

Cet exercice fait partie du cours

AI-Assisted Coding for Developers

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice