Learn Python

Learn Python by actually writing Python code

Table of Contents

Show Exercises

1.Getting started

2.Data Types

3.Operators

4.Variables

5.If Else statements

6.Comprehensive Exercises I

7.String formatting

8.Lists and Tuples

9.Iterating over lists

10.Sets

11.Dictionaries

12.While Loop

13.Comprehensive Exercises II

14.Comments

15.Functions

16.Function arguments

17.Lambdas

18.Working with Strings

19.More about Lists

20.Handling Exceptions

21.Working with Collections

22.Working with the datetime module

23.Decorators

24.Classes and Objects

25.Inheritance

26.Overloading operators in Python

27.Generators

28.More about decorators

29.Bitwise Operators

30.Creating and raising Exceptions

31.Iterators

32.Modifying iterables with Itertools

33.Measuring code performance