logo
  • Home
  • Modules
    • Fundamentals
    • Data Structures
    • OOP
  • Evaluation
    • Challenge yourself
    • Take exam
  • Community
    • Ranking
    • Reviews
  • Login
  • Register
  • Fundamentals
    • Programming and Python
      • What is programming and its languages?
      • What is Python?
      • Python Interpreter
      • Interactive mode
      • No Room for Error in Code
    • Arithmetic Operations
      • Addition
      • Subtraction
      • Multiplication
      • Division
      • Exponentiation
      • Order of operations
      • Execution flow
      • End Chapter Exercises
    • Values, types and variables
      • Integers
      • Floats
      • Strings
      • Function type
      • Assignment statements
      • Using variables
      • Reassignment
      • Updating values
      • Variables vs Strings
      • Variable names
      • String operations
      • Composition
      • End Chapter Exercises
    • Functions
      • Script mode
      • Execution flow in Script
      • Functions
      • Definitions and uses
      • Flow of execution
      • Parameters and arguments
      • Multiple parameters/arguments
      • Composition
      • End Chapter Exercises
    • Return statement
      • Return values
      • Dead code
      • None as return value
      • Math functions
      • Incremental development
      • Composition
      • End Chapter Exercises
    • Comparing values
      • Booleans
      • Equal to (==)
      • Not equal to (!=)
      • Greater than (>)
      • Greater than or equal (>=)
      • Less than (<)
      • Less than or equal(<=)
      • Combining relational operators
      • Boolean expressions
      • and
      • or
      • not
      • Combining logical operators
    • Conditionals
      • Floor division and modulus
      • Conditional execution
      • Alternative execution
      • Chained conditionals
      • Conditional branches
      • Conditionals and functions
      • Composition
      • End Chapter Exercises
    • Iteration
      • The for statement
      • range
      • random
      • The while statement
      • break
      • Composition
      • End Chapter Exercises
    • Challenges
      • Student Performance Evaluator
      • Battery Life Simulator
  • Data Structures
    • Strings
      • A string is a sequence
      • len
      • String slices
      • Traversal with a loop
      • String methods
      • The in operator
      • Relational operators with strings
      • Composition
      • End Chapter Exercises
    • Lists
      • A list is a sequence
      • Accessing list elements
      • Lists are mutable
      • Traversing a list
      • List operations
      • List slices
      • List methods
      • Deleting elements
      • Composition
      • End Chapter Exercises
    • Dictionaries
      • A dictionary is a mapping
      • Access, Add and Update
      • Dictionary keys
      • in operator in dictionaries
      • Traversing a dictionary
      • Looping with keys, values, and items
      • Remove Elements from a Dictionaries
      • Dictionary methods
      • Composition
    • Tuples
      • What is a tuple
      • Accessing tuple elements
      • Tuple operations
      • Tuple comparison
      • Tuple assignment
      • Composition
    • Sets
      • What is a set
      • Key properties of sets
      • Adding elements to a set
      • Deleting elements from a set
      • Set operations
      • Composition
    • Challenges
      • Club Activity Schedule
      • Word Frequency Report
      • Library Borrowing System
      • Movie Watchlist & Review Manager
  • OOP
    • Classes and objects
      • Why Object Oriented Programming?
      • Creating a class
      • Creating an object (instance)
      • Attributes
      • Objects are mutable
      • Instances as attribute values
      • Composition
    • Classes and functions
      • Instances as arguments
      • Modifying instances inside function
      • Modifying instances as attribute values
      • Instances as return value
      • Classes and loops
      • Composition
      • End Chapter Exercises
    • Methods
      • Printing objects
      • Modifying objects
      • Naming methods
      • Updating objects
      • Comparing objects
      • Adding objects
    • Case study: Time
      • Time
      • Displaying time
      • Adding times
      • Updating time
      • Prototyping versus planning
      • Comparing times
    • Dunder methods
      • The init method
      • The str method
      • Comparing methods
      • Arithmetic methods
    • Inheritance
      • Inheritance
      • Method overriding
      • Method extending
Modules -> OOP -> Classes and objects

Lesson 1

Why Object Oriented Programming?


%


Lesson 2

Creating a class


%


Lesson 3

Creating an object (instance)


%


Lesson 4

Attributes


%


Lesson 5

Objects are mutable


%


Lesson 6

Instances as attribute values


%


Lesson 7

Composition


%


Take exam

%