Get startedGet started for free

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

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise