A Basic Python Course for Caribbean Students
A free, 4-lesson introduction to Python for 4th, 5th, 6th form and 1st-year university students. No installation required — everything runs in your browser.
Welcome!
This short course is designed for students in the Caribbean (Forms 4–6 and first-year university) who want to learn Python the easy way.
- No software to install — we use a free web-based Python interpreter.
- 4 lessons — each takes about 25 minutes.
- YouTube videos first — short, clear, and free.
- Hands-on — you will write and run code in every lesson.
How to Set Up (2 minutes)
- Open this link in a new tab: Online Python Interpreter
(It runs Python directly in your browser — no signup, no downloads.) - You will see a big code editor on the left and output on the right.
- Type code → click Run → see results instantly.
Tip: Keep the interpreter tab open while watching videos. Pause the video and try the code yourself.
Lesson 1: Hello World, Variables & Basic Maths (25 minutes)
Learning Objectives
By the end of this lesson you will be able to:
- Print messages to the screen
- Create and use variables
- Do simple calculations
Recommended Video (10 minutes)
Learn Python Variables & Comments – Complete Beginners Tutorial
Key Concepts
(copy and run these in the online interpreter)
| # 2. Variables (like boxes to store information) | |
|---|---|
| # 3. Basic maths | |
|---|---|
Exercises (13 minutes)
- Change the code to print your own name and the name of your island (e.g. "Trinidad" or "Barbados").
- Calculate how many days are in 4 weeks (use multiplication).
- Create variables for the price of a doubles ($8) and a bake ($6). Print the total for buying one of each.
Done? You have completed Lesson 1! 🎉
Lesson 2: User Input & Making Decisions (25 minutes)
Learning Objectives
- Get input from the user
- Use if, elif, and else to make decisions
Recommended Video (12 minutes)
Beginner Python Coding: User Input, Variables & Conditional Statements
Key Concepts
| Getting input from the user | |
|---|---|
| Simple decision | |
|---|---|
Exercises (13 minutes)
- Ask the user for their favourite Caribbean dish (roti, curry, jerk chicken, etc.) and reply with a fun message.
- Write a program that asks for a temperature in Celsius and tells the user if it is "hot" (above 30), "warm" (20–30) or "cool" (below 20).
- Make a simple "pass or fail" checker: ask for a CXC score out of 100 and print "Pass" if 50 or above.
Done? Lesson 2 complete! You can now make your programs interactive.
Lesson 3: Loops – Repeating Things (25 minutes)
Learning Objectives
- Use for loops to repeat a fixed number of times
- Use while loops to repeat until a condition is met
Recommended Video (10 minutes)
Python While Loops & For Loops | Python tutorial for Beginners
Key Concepts
| While loop — repeats while something is true | |
|---|---|
| Looping through a list | |
|---|---|
Exercises (15 minutes)
- Use a for loop to print the numbers from 1 to 10.
- Use a while loop to keep asking the user for a number until they enter 0.
- Create a list of 5 Caribbean countries. Print each one with "is beautiful!" after it.
Done? You now know how to make code repeat — very useful for games and calculations!
Lesson 4: Functions & A Mini Project (25 minutes)
Learning Objectives
- Create your own reusable functions
- Put everything together in a small program
Recommended Video (12 minutes)
Functions in Python | Python for Beginners
Key Concepts
| simple function | |
|---|---|
| Function with calculation | |
|---|---|
Mini Project (15 minutes)
Copy the code above into the interpreter and run it. Then add two more questions of your own!
Congratulations!
You have completed the Basic Python Course.
What you can do next:
- Try more free YouTube courses (search "Python for beginners 2026")
- Explore Google Colab for bigger projects
- Join free communities like < > on Discord or local coding clubs
Share your code — take a screenshot of your quiz program and post it with #PythonCaribbean
Keep coding — the Caribbean needs more Python developers! 🇯🇲🇹🇹🇧🇧🇬🇩
Bonus Lesson: Lists & Dictionaries in Python (25 minutes)
Learning Objectives
By the end of this 25-minute lesson you will be able to:
- Create and use lists
- Create and use dictionaries
- Understand when to use a list vs. a dictionary
- Access, modify and loop through both structures
Quick Comparison Table
| Feature | List | Dictionary |
|---|---|---|
| Syntax | ["mango", "guava", "pineapple"] |
{"name": "Kiana", "age": 16, "island": "Trinidad"} |
| Ordered? | Yes (items keep their position) | Yes (since Python 3.7 – insertion order preserved) |
| How to access items | By index (number starting at 0) | By key (usually a string) |
| Example access | fruits[0] → "mango" |
student["name"] → "Kiana" |
| Can have duplicates? | Yes (you can have "mango" twice) | No – keys must be unique |
| What it’s good for | Ordered sequence of similar items | Looking things up by name/description |
| Mutable? | Yes (can add, remove, change items) | Yes (can add, remove, change key-value pairs) |
| Typical Caribbean use | List of Carnival bands in performance order | Student name → CXC grade for each subject |
| Allows duplicate values? | Yes | Yes (values can be the same, only keys unique) |
| Common loop style | for item in my_list: |
for key, value in my_dict.items(): |
Lists – Ordered collections
| Creating a list | |
|---|---|
| Accessing items (index starts at 0) | |
|---|---|
| Adding items | |
|---|---|
| Length of list | |
|---|---|
| Looping through a list (very common) | |
|---|---|
Quick Task (4 min)
Create a list called islands with at least 6 Caribbean islands Print the second and the last island Add "Dominica" to the end Print how many islands are in your list
Dictionaries – Key-Value pairs
| Creating a dictionary | |
|---|---|
| Accessing values using keys | |
|---|---|
| Adding / changing values | |
|---|---|
| Getting all keys and values | |
|---|---|
| Looping through a dictionary | |
|---|---|
Quick Task (5 min)
Create a dictionary called recipe for making doubles with at least 6 key-value pairs. Example keys:
- main_ingredient
- price
- needs_channa
- best_sauce
- vendors (a list of 3 popular vendors)
- calories_per_serving
Print two pieces of information from your dictionary.
Lists vs Dictionaries – Side-by-side example
| Using a LIST when order & repetition matter | |
|---|---|
| Using a DICTIONARY when you want to look up by name/description | |
|---|---|
When to choose which?
| Situation | Better Choice | Reason / Example |
|---|---|---|
| List of 10 popular soca songs in order | List | Order matters, duplicates possible |
| Looking up capital city by country name | Dictionary | Fast lookup: capitals["Barbados"] → "Bridgetown" |
| Names of people in a doubles line (first come first) | List | Position = who arrived first |
| Your CXC timetable (subject → room number) | Dictionary | Quick lookup by subject name |
| Shopping list (you might buy 3 packs of channa) | List | Allows duplicates ("channa", "channa", "channa") |
| Festival food stalls and their prices | Dictionary | "Doubles": 10, "Bake & Shark": 15 |
Final Mini Project (8–10 minutes)
Caribbean Festival Planner
Challenge (if you have 2–3 extra minutes):
- Add a new key "best_viewing_spots" that contains a list of 4 good places to stand/watch Panorama. Then print them nicely.
Well done!
You have learned two of the most powerful and commonly used data structures in Python.
Next steps (when you have more time):
- Learn how to sort lists: fruits.sort()
- Loop with index: for i, fruit in enumerate(fruits):
- Nested structures: list of dictionaries, dictionary of lists
Keep practising — lists and dictionaries appear in almost every real Python program!
🇹🇹🇯🇲🇧🇧 Keep coding, Caribbean! 🌴🌴
Course created using only free resources — February 2026