7 lessons Grades 5+, teens and college beginners

Python for Teens & Beginners

Google Classroom

7 short lessons, from your first line of code to a guessing game. You can run every example in your browser โ€” nothing to install.

All lessons

  1. ๐Ÿ‘‹ 1. Your first programprint, quotation marks, and error messages
  2. ๐Ÿ“ฆ 2. Variables and inputStore information and ask the user
  3. ๐Ÿงฎ 3. Math in PythonOperators, division, remainder and powers
  4. ๐Ÿ”€ 4. Conditions: if and elseThe program decides by itself
  5. ๐Ÿ” 5. Loops: for and whileRepeat code without copying it
  6. ๐Ÿ“‹ 6. ListsMany values in one variable
  7. ๐ŸŽฒ 7. Project: a guessing gameThe computer picks a number, and you guess

โœ๏ธ Practice: Run Python in your browser, no install โ†—

About this course

Python is the most popular first programming language โ€” used in AP Computer Science Principles, intro college CS courses (CS101), data science and AI. Its code reads almost like English.

The course fits students from about 5th grade, high schoolers and college beginners. Type every example yourself rather than copying: your fingers learn too.

Questions & answers

Do I need to install Python?
No. Use a free online editor like Programiz, Replit or Google Colab. When you are ready, install Python from python.org and use a free editor like VS Code or Thonny.
Is Python good for college?
Yes. Many intro CS, statistics, engineering and data science courses use Python. This course covers the basics they assume you know in week one.
What comes after this course?
Functions (def), dictionaries, files, and small projects: a quiz game, a grade calculator, a text adventure. Then libraries like turtle (drawing), pandas (data) or pygame (games).
Is the course free?
Yes, with no sign-up. Progress is saved in your browser.

Related