Refining prompts for code changes
You are now reviewing the modifications that the AI model made in response to the prompt of the previous exercise:
“Improve readability and correctness of the calc_price() function. It's used to adjust prices dynamically in a motorbike rental site. Return your answer as Python code.”
What improvements could we make to this prompt to ensure the AI model modifies only what requested?
Este exercício faz parte do curso
AI-Assisted Coding for Developers
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
 Começar o exercício
Começar o exercício