Hello, this is my Python guide, a helpful (I hope) series of chapters designed to teach the reader Python. I wrote this for a friend, but feel free to use it yourself.
For each chapter I will have a README.md file which will be me covering the content for that chapter, a questions.py file that has questions that I try my best to have that cover things that I introduced in the chapter, then a tests.py that you can run to make sure your answers to the questions are correct.
This chapter covers:
- Getting started
- What is Python
- The Python shell
- Expressions
- Assignment and Variables
- Conditionals
- Functions
- Tuples, Lists and Sets
- Indexing, Slicing and Aliasing
- Dictionaries
- Looping
- Iteration
- Nesting
- File processing
- Classes