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?
This exercise is part of the course
AI-Assisted Coding for Developers
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
 Start Exercise
Start Exercise