HSL25BH

出自 青少年追求卓越
於 2025年5月9日 (五) 14:22 由 Limingyu2007 (對話 | 貢獻) 所做的修訂
前往: 導覽搜尋
  • 靖恩和佳恩 Python 程式設計課程,每週六 9:00-10:30。
  • Pairing Khan Academy’s “Intro to Computer Science – Python” course with Thonny is a great way to combine the strengths of both platforms:
    • Khan Academy: Teaches concepts interactively in a browser.
    • Thonny: Lets students write, run, and debug code in a real Python environment.

How to Pair Khan Academy with Thonny

🔗 How to Pair Khan Academy with Thonny
🧭 Step 1: Use Khan Academy to learn concepts
Direct your students to follow lessons and complete exercises on
 https://www.khanacademy.org/computing/intro-to-python-fundamentals


Encourage them to watch the videos, try the interactive tasks, and read the explanations


💻 Step 2: Recreate or expand activities in Thonny
Once they complete a coding task on Khan Academy:
Open Thonny


Create a new file (e.g., my_program.py)


Type out the same code from the Khan activity—or rewrite it in their own words


Run and test the program in Thonny


Experiment: Modify the code to explore new behavior
 For example:


Change variable values


Add print statements


Add comments (#) to explain logic


🔄 Step 3: Reinforce learning with projects
After each unit (e.g., variables, loops), assign a mini project in Thonny using what they just learned


Examples:


After “functions” → build a calculator


After “loops” → print a triangle pattern



🧠 Benefits of This Pairing
Khan Academy
Thonny
Interactive, guided lessons
Real-world Python environment
Auto-checking and hints
Full control and debugging tools
Ideal for concept introduction
Ideal for hands-on practice


✏️ Suggested Routine for Your Students
Watch Khan video + do the exercise


Rewrite and expand the code in Thonny


Save and share their .py file


Add a reflection (what they learned or struggled with)