This is a concise Python 3 programming tutorial based on Mike Dane's awesome Youtube video that you can watch here.
It is supposed to get you familiar with Python's variables, data types and their various functions, as well as loops, statements and classes.
There are also a couple of exercises that require user input or reading from external files.
-
Python 3.3 or any newer version of Python has to be installed on your system in order to run scripts from this tutorial. If you need any help installing Python, please refer to this link.
-
Python IDE for running scripts. I used Community Edition of PyCharm.
The tutorial consists of 32 main scripts, 5 more additional scripts required in order to run some of the main ones and one ".txt" file with information about employees used in "Reading Files" script:
- Hello World
- Drawing a Shape
- Variables and Data Types
- Working with Strings
- Working with Numbers
- Getting Input from Users
- Building a Basic Calculator
- Mad Libs Game
- Lists
- List Functions
- Tuples
- Functions
- Return Statement
- If Statements
- If Statements and Comparisons
- Building a Better Calculator
- Dictionaries
- While Loop
- Building a Guessing Game
- For Loops
- Exponent Function
- 2D Lists and Nested Loops
- Build a Translator
- Comments
- Try and Except
- Reading Files
- Writing to Files
- Modules and pip
- Classes and Objects
- Building a Multiple Choice Quiz
- Object Function
- Inheritance
All the scripts are (heavily) commented by me.
This project is licensed under the MIT License. See the LICENSE file for details.