A list of resources for beginner python programmers, who want a practical approach to learning the language.
If you are looking for a code editor, I would highly recommand PyCharm (the editor that I personally use) or Visual Studio Code. PyCharm is paid, but is easier to use in my opinion.
- W3Schools, (great because it starts with the basics but u can skip to harder stuff based on ur skill level)
- Sololearn, (not too bad for just checking you know all the terminology and syntax)
(I recommend not just following the tutorials but also changing some of the stuff and seeing what happens and trying to add new features) Introduction to data types:
⭐:
- Make a program to add 2 numbers that are inputted into the terminal
- Make a program to multiply 2 numbers that are inputted into the terminal
- Make a program to divide 2 numbers that are inputted into the terminal
⭐⭐:
- Make a program that (tip: use the built in
.split()method to get a list of things inputted) - Edit the program so it can detect specific operators and perform the corresponding operation (e.g " + " adds, " * " multiplies, " / " divides)
- Edit the program so it can take more than 2 numbers to operate on
⭐⭐⭐⭐:
- Make it follow the correct order of operations (BIDMAS / PEMDAS) - Feel free to ask me about this as it can be quite complicated
⭐:
- Get the user to enter a username and display a welcome message (e.g. "
Welcome, John") - Create a simple command line interface with a
helpcommand that lists all available actions- 2.1.
eval: solves a mathematical expression - 2.2. implement the basic UNIX commands (
touch,ls, ...)
- 2.1.