PythonBeginner
CS50's Introduction to Programming with Python
Harvard's introduction to programming using Python. Covers functions, variables, conditionals, loops, exceptions, libraries, unit tests, file I/O, and regular expressions.
Free course on Khan Academy
Khan Academy's Intro to Python Programming is a free beginner course that introduces Python through short videos and coding exercises. You learn variables, loops, functions, and lists, building small programs as you go. The course is completely free on khanacademy.org. After finishing, you understand Python syntax and can write simple programs. The course is gentle and well-paced, great for anyone who finds coding intimidating. The main limitation: it's introductory. After this, you'll need a more structured course (freeCodeCamp, CS50P) to get deeper into Python.
Khan Academy ended the 2024-25 school year with 189.6 million registered users, 20.9 million of whom signed up that year (source: Khan Academy Annual Report SY24-25, Registered Users, annualreport.khanacademy.org).
Khan Academy's friendly introduction to programming with Python. Learn variables, data types, functions, conditionals, and loops through short lessons with immediate feedback.
PythonBeginner
Harvard's introduction to programming using Python. Covers functions, variables, conditionals, loops, exceptions, libraries, unit tests, file I/O, and regular expressions.
PythonBeginner
Codecademy's interactive Python course teaches you the basics from scratch. Write and run code in your browser, learn syntax, functions, control flow, lists, loops, and more.
PythonBeginner
Harvard's legendary CS50 introduction to computer science. Covers C, Python, SQL, JavaScript, and web programming. The most-enrolled university course in the world.