Python Fundamentals
Learn Python from scratch — variables, control flow, functions, strings, and file I/O. No prior programming experience required.
View badge details
About This Course
Course Curriculum
10 Lessons
Hello Python - Your First Program
print(), strings, numbers, math operators, f-strings, comments, syntax errors vs runtime errors
Hello Python - Lab Exercises
print(), strings, numbers, math operators, f-strings, comments, syntax errors vs runtime errors
Variables, Types and Input
Variables, naming conventions, int/float/str/bool, type(), input(), type conversion, ValueError
Variables and Input - Lab Exercises
Variables, naming conventions, int/float/str/bool, type(), input(), type conversion, ValueError
Control Flow - Decisions and Loops
if/elif/else, comparison operators, logical operators (and/or/not), for loops with range(), while loops, break/continue
Control Flow - Lab Exercises
if/elif/else, comparison operators, logical operators (and/or/not), for loops with range(), while loops, break/continue
Functions and Scope
def, parameters, return values, default arguments, local vs global scope, function composition, docstrings
Functions - Lab Exercises
def, parameters, return values, default arguments, local vs global scope, function composition, docstrings
Strings, Formatting and Basic I/O
String methods (split/join/strip/replace/find), slicing, f-string formatting, file I/O with open/read/write, with statement, parsing text
Strings and I/O - Lab Exercises
String methods (split/join/strip/replace/find), slicing, f-string formatting, file I/O with open/read/write, with statement, parsing text