Lessons·teens · beginner
Python: Your First Program
Learn Python basics — variables, functions, lists, and loops. Write real Python that runs in your browser.
About 35 minutes

Python Terms
Python uses many of the same concepts as JavaScript, but with cleaner syntax. Here are the Python-specific terms.
| English | Türkçe |
|---|---|
| printprint('Hello') shows text on screen. | yazdırmakprint('Hello') ekranda metin gösterir. |
| defdef means 'define a function'. | tanımladef, 'fonksiyon tanımla' anlamına gelir. |
| listA list is like a JavaScript array: [1, 2, 3]. | listeListe, JavaScript'teki dizi (array) gibidir: [1, 2, 3]. |
| dictionaryA dictionary stores key-value pairs: {'name': 'Elif'}. | sözlükDictionary (sözlük), anahtar-değer (key-value) çiftlerini tutar: {'name': 'Elif'}. |
| indentPython uses indentation (spaces) instead of curly braces. | girintiPython, süslü parantezler yerine girintileme (boşluklar) kullanır. |
| importimport lets you use code from other files. | içe aktarmakimport, başka dosyalardaki kodları kullanmanı sağlar. |
| rangerange(5) creates numbers 0, 1, 2, 3, 4. | aralıkrange(5), 0, 1, 2, 3, 4 sayılarını oluşturur. |
| inputinput() asks the user to type something. | girdiinput(), kullanıcıdan bir şey yazmasını ister. |
Why Python?

Python is the world's most popular programming language. It's used for:
• Web development (Instagram, Spotify)
• Data science and AI (ChatGPT, TensorFlow)
• Automation (scripts that do tasks for you)
• Game development
• Scientific research
Python is known for being easy to read — it looks almost like English:
if age >= 18:
print("You can vote")
No curly braces { }, no semicolons ; — just clean, simple code.
Challenge 1: Variables and Print
Challenge 2: Functions with def
Challenge 3: Lists and Loops
Challenge 4: Dictionaries
Challenge 5: Build a Student Report Card
Now actually practise it
Reading a lesson is the easy half. A free account unlocks the parts that make it stick — listen to every word in a British accent, and use it in a live conversation with James. Your progress is saved and the words come back for review before you forget them.