0
0
AI for Everyoneknowledge~30 mins

AI in everyday life (recommendations, maps, voice assistants) in AI for Everyone - Mini Project: Build & Apply

Choose your learning style9 modes available
AI in Everyday Life: Recommendations, Maps, and Voice Assistants
📖 Scenario: Imagine you want to understand how AI helps you daily through recommendations on shopping sites, navigation on maps, and voice assistants on your phone.
🎯 Goal: You will build a simple overview that lists examples of AI in everyday life, categorize them, and add a brief description for each category.
📋 What You'll Learn
Create a dictionary called ai_examples with three keys: recommendations, maps, and voice_assistants
Each key should have a list of two example AI applications as strings
Create a variable called description that holds a short sentence explaining AI's role in these categories
Use a for loop with variables category and examples to iterate over ai_examples.items()
Create a final dictionary called ai_overview that combines the description and the examples for each category
💡 Why This Matters
🌍 Real World
Understanding AI's role in everyday tools helps people appreciate technology and make informed choices.
💼 Career
Basic knowledge of AI applications is useful in many jobs, including marketing, customer service, and tech support.
Progress0 / 4 steps
1
Create the AI examples dictionary
Create a dictionary called ai_examples with these exact keys and values: 'recommendations' with ["Netflix", "Amazon"], 'maps' with ["Google Maps", "Waze"], and 'voice_assistants' with ["Siri", "Alexa"].
AI for Everyone
Hint

Use curly braces {} to create a dictionary and square brackets [] for lists.

2
Add a description variable
Create a variable called description and set it to the string "AI helps by personalizing, guiding, and assisting users in daily tasks."
AI for Everyone
Hint

Use quotes to create a string and assign it to the variable description.

3
Use a for loop to iterate over AI examples
Use a for loop with variables category and examples to iterate over ai_examples.items(). Inside the loop, create a new dictionary called category_info with keys 'description' set to description and 'examples' set to examples. Then, create an empty dictionary called ai_overview before the loop.
AI for Everyone
Hint

Remember to create ai_overview before the loop and add each category_info inside the loop.

4
Complete the AI overview dictionary
Ensure the final dictionary ai_overview contains each category as a key with a dictionary value that has keys 'description' and 'examples' holding the correct values. This completes the overview of AI in everyday life.
AI for Everyone
Hint

The code is complete; just ensure the dictionary structure is correct.