Foundation Level

Starter Tier

Begin your Python journey here. Master variables, data types, conditionals, loops and functions — the building blocks of every Python program.

Topics Covered

VariablesData TypesConditionalsLoopsFunctionsString ManipulationUser InputLists

Enjoying the lessons?

Upgrade to unlock AI features, progress sync & more

Upgrade

Lesson 1

Your First Line of Python

2

Lesson 2

How Python Reads Your Code

3

Lesson 3

Text in Python — Strings

4

Lesson 4

Numbers in Python

5

Lesson 5

Mixing Text and Numbers

6

Lesson 6

Comments — Talking to Your Future Self

7

Lesson 7

Your First Error — Reading Error Messages

8

Lesson 8

print() Superpowers

9

Lesson 9

Making Output Beautiful

10

Lesson 10

Milestone: Your First Name Card

11

Lesson 11

What Variables Are

12

Lesson 12

Naming Variables Well

13

Lesson 13

Changing Variables

14

Lesson 14

String Variables — Storing Text

15

Lesson 15

Number Variables — Storing and Calculating

16

Lesson 16

Boolean Variables — True or False

17

Lesson 17

Using Multiple Variables Together

18

Lesson 18

Variable Tricks — Swapping and Multiple Assignment

19

Lesson 19

Constants — Values That Never Change

20

Lesson 20

Milestone: Personal Profile Card v2

21

Lesson 21

String Length — Measuring Text

22

Lesson 22

Combining Strings — Concatenation

23

Lesson 23

f-strings — The Modern Way to Build Text

24

Lesson 24

String Methods: Changing Case

25

Lesson 25

String Methods: Cleaning Text

26

Lesson 26

Finding Things in Strings

27

Lesson 27

Slicing Strings — Getting Parts of Text

28

Lesson 28

Multiline Strings — Storing Long Text

29

Lesson 29

Aligning Text — Making Things Line Up

30

Lesson 30

Milestone: Bio Text Generator

31

Lesson 31

Getting User Input

32

Lesson 32

Input is Always Text

33

Lesson 33

Converting Types — int(), float(), str()

34

Lesson 34

Type Checking — Knowing What You're Working With

35

Lesson 35

Math with User Input

36

Lesson 36

The Age Calculator — A Real Project

37

Lesson 37

Asking Multiple Questions — Building a Conversation

38

Lesson 38

Cleaning User Input — Handling Real People

39

Lesson 39

Showing Results Beautifully — Polished Output

40

Lesson 40

Milestone: Interactive Bio Builder

41

Lesson 41

Comparing Values — The Six Comparison Operators

42

Lesson 42

Your First if Statement

43

Lesson 43

if and else — Two Paths

44

Lesson 44

if, elif, else — Many Paths

45

Lesson 45

Logical Operators — and, or, not

46

Lesson 46

Nested if Statements — Decisions Within Decisions

47

Lesson 47

Truthy and Falsy — What Python Considers True

48

Lesson 48

One-Line Conditions — Ternary Expressions

49

Lesson 49

Real Decisions — Putting It All Together

50

Lesson 50

Milestone: Smart Bio with Personality

51

Lesson 51

Why Loops Exist — The Problem They Solve

52

Lesson 52

Your First for Loop — Iterating Over Things

53

Lesson 53

range() — Counting Made Easy

54

Lesson 54

Using the Loop Counter — Building With i

55

Lesson 55

while Loops — Condition-Based Repetition

56

Lesson 56

break — Escaping a Loop Early

57

Lesson 57

continue — Skipping an Iteration

58

Lesson 58

Nested Loops — Loops Inside Loops

59

Lesson 59

Counting and Accumulating — Building Results With Loops

60

Lesson 60

Milestone: Stats Display — Bringing Loops to the Bio

61

Lesson 61

What Lists Are — Storing Multiple Values

62

Lesson 62

Accessing Items — Indexing and the Zero Problem

63

Lesson 63

Modifying Lists — append(), insert(), remove(), pop()

64

Lesson 64

Checking Lists — len(), count(), and Membership

65

Lesson 65

Looping Through Lists — The Most Common Pattern

66

Lesson 66

List Slicing — Getting Parts of Lists

67

Lesson 67

Sorting Lists — sort() and sorted()

68

Lesson 68

More List Methods — extend(), copy(), count(), reverse()

69

Lesson 69

Lists of Mixed Types — Real-World Data

70

Lesson 70

Milestone: Hobbies and Favourites Manager

71

Lesson 71

Why Functions Exist — The DRY Principle in Action

72

Lesson 72

Defining Your First Function — def, Name, Call

73

Lesson 73

Parameters — Giving Functions Information

74

Lesson 74

Return Values — Getting Information Back

75

Lesson 75

Default Parameters — Optional Arguments

76

Lesson 76

Multiple Parameters — Functions That Handle Complex Data

77

Lesson 77

Functions Calling Functions — Building Complex Behaviour

78

Lesson 78

Scope — Where Variables Live

79

Lesson 79

Docstrings — Documenting Your Functions

80

Lesson 80

Milestone: Bio Component Functions

81

Lesson 81

Structuring a Program — The Professional Way

82

Lesson 82

Input + Variables + Functions — The Complete Pattern

83

Lesson 83

Smart Functions — Functions That Make Decisions

84

Lesson 84

Functions with Loops — Processing Collections

85

Lesson 85

Building a Menu — User-Driven Programs

86

Lesson 86

Handling Bad Input — Defensive Programming

87

Lesson 87

Making Output Beautiful — ASCII Art and Formatting

88

Lesson 88

Adding Personality — Making Programs Feel Alive

89

Lesson 89

Comments and Clean Code — Writing for Humans

90

Lesson 90

Milestone: Complete Bio Generator Draft

91

Lesson 91

Reviewing Your Code — Reading It Like a Stranger

92

Lesson 92

Refactoring — Making Good Code Great

93

Lesson 93

Edge Cases — When Users Surprise You

94

Lesson 94

Making Programs Feel Alive — Responses and Variety

95

Lesson 95

Testing Like a User — Breaking Your Own Program

96

Lesson 96

Sharing Your Code — Comments for Other People

97

Lesson 97

What Comes Next — The Beginner Tier Preview

98

Lesson 98

Final Assembly Part 1 — Building the Complete Program

99

Lesson 99

Final Assembly Part 2 — The Complete Personal Bio Generator

100

Lesson 100

Graduation: Final Exam and Your Python Future

Pyfessor

"Hi! I'm Pyfessor. Ready to s-s-s-tart our coding journey?"

Pyfessor