In addition, you'll find the following resources on Object-Oriented Programming useful:
- https://realpython.com/python3-object-oriented-programming/
- https://medium.com/the-renaissance-developer/python-101-object-oriented-programming-part-1-7d5d06833f26
- https://stackoverflow.com/questions/2709821/what-is-the-purpose-of-self
-
You'll find a bunch of Python source files and test files.
-
Each source file focuses on a particular Python topic and contains empty functions.
-
Your goal is to implement these functions and pass all the test cases. The test files corresponding to each source file are prefixed with
test_
. For example, the test cases forstrings.py
are attest_strings.py
-
If you are not sure how to implement a particular function, read the unit tests for that function.
It is recommended to complete the drills in the following order:
strings
lists
branching_and_looping
functions
dictionaries
classes
file_operations
mixed_bag
recursion
- Python3: Use python3.6 or greater
- git: Commit your code after completing each drill.
- PEP8/flake8: Install
PEP8
andflake8
linters on your text editor. Ensure you don't have any errors before committing your code.