0
0
AI for Everyoneknowledge~30 mins

Iterating and refining prompts in AI for Everyone - Mini Project: Build & Apply

Choose your learning style9 modes available
Iterating and Refining Prompts
📖 Scenario: You are working with an AI assistant to get the best answers. Sometimes the first prompt you give is not clear enough, so you need to improve it step by step.This project will help you understand how to start with a simple prompt, add details, and finally make it clear and specific to get better results.
🎯 Goal: Build a simple guide that shows how to create an initial prompt, add a refinement step, and then finalize the prompt for the AI assistant.
📋 What You'll Learn
Create a variable called initial_prompt with a simple question.
Create a variable called refinement_note that adds more detail to the prompt.
Combine initial_prompt and refinement_note into a new variable called refined_prompt.
Create a final variable called final_prompt that makes the prompt very clear and specific.
💡 Why This Matters
🌍 Real World
Improving prompts helps get better answers from AI assistants, chatbots, or search engines in everyday tasks.
💼 Career
Skills in writing clear and refined prompts are useful for roles in customer support, content creation, AI training, and digital marketing.
Progress0 / 4 steps
1
Create the initial prompt
Create a variable called initial_prompt and set it to the string "What is climate change?"
AI for Everyone
Hint

Use a simple string assignment like initial_prompt = "What is climate change?".

2
Add a refinement note
Create a variable called refinement_note and set it to the string "Explain the causes and effects in simple terms."
AI for Everyone
Hint

Assign the string to refinement_note exactly as shown.

3
Combine initial prompt and refinement
Create a variable called refined_prompt that joins initial_prompt and refinement_note with a space between them.
AI for Everyone
Hint

Use string concatenation with a space in between.

4
Create the final clear prompt
Create a variable called final_prompt and set it to the string "Please explain what climate change is, including its main causes and effects, using simple language suitable for beginners."
AI for Everyone
Hint

Write the full clear prompt exactly as shown.