This course is free. Create a free account to learn, save your progress, and earn a certificate when you complete it.
Programming Fundamentals with Python
FreeLearn to program from scratch using Python. Covers variables, data types, control flow, functions, lists, dictionaries, file I/O, error handling, modules, and object-oriented programming. Build a complete command-line application as your capstone project.
No payment or subscription required. Sign in to track your learning and claim your certificate when you finish.
Complete lessons in order to unlock the next — structured progression.
Getting Started with Python
Installing Python, running scripts and the REPL, setting up VS Code; variables with strings, integers, floats, booleans, f-strings, and type conversion.
- 1Installing Python And Setting Up Your EnvironmentTutorial
- 2Variables And Data TypesTutorial
- 3Python Basics CheckQuiz
Control Flow and Functions
Conditionals, comparison operators, boolean logic; for and while loops, range, break, continue, enumerate, zip; defining functions with parameters, return values, and docstrings.
- 4Conditionals And ComparisonsTutorial
- 5Loops In PythonTutorial
- 6Functions In PythonTutorial
- 7Control Flow CheckQuiz
Data Structures
Lists with indexing, slicing, methods, and comprehensions; dictionaries and sets; tuples, unpacking, and working with collections.
- 8Lists In PythonTutorial
- 9Dictionaries And SetsTutorial
- 10Tuples And Working With CollectionsTutorial
- 11Data Structures CheckQuiz
Files, Errors, and Modules
Reading and writing text, CSV, and JSON files; handling exceptions with try/except; importing modules and installing packages with pip.
- 12Reading And Writing FilesTutorial
- 13Error Handling In PythonTutorial
- 14Modules And PackagesTutorial
- 15Files And Modules CheckQuiz
Object-Oriented Programming
Defining classes with __init__, instance methods, class methods; inheritance with super(), method overriding, @property; capstone project.
- 16Classes And ObjectsTutorial
- 17Inheritance And EncapsulationTutorial
- 18Python Fundamentals CapstoneTutorial
- 19Oop CheckQuiz
Discussion
Sign in to comment. Your account must be at least 1 day old.