Welcome! In this lesson, we’ll get everything ready so you can have fun learning to code with Python and discover the world of Artificial Intelligence (AI).
We’ll use an online coding tool called Trinket. It runs right in your browser—no downloads!
Tip: Trinket works on most devices and is great for quick practice. Learn more on their site: Trinket
AI is like teaching computers to be a little smart! We give them lots of examples and rules so they can:
AI doesn’t have feelings—it just follows what it learned from data.
Python is friendly and powerful. People use it to build websites, games, robots—and AI! Python is popular for AI because:
Let’s warm up with a few small prints. You can run these here or in Trinket:
print("Hello, AI world!") print("I am ready to learn Python!")
Now try changing the messages to your name or favorite hobby:
print("Hi, I am <your name>!") print("I love <your hobby>!")
Sign in to track your progress