Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Python-for-beginners

A list of resources for beginner python programmers, who want a practical approach to learning the language.

List of resources:

(If you ever are confused about something, just ask! I don't mind :D )

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.

Good starting points:

Coding examples (stars indicate difficulty)

(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:

Code challenges:

Calculator:

⭐:

  1. Make a program to add 2 numbers that are inputted into the terminal
  2. Make a program to multiply 2 numbers that are inputted into the terminal
  3. Make a program to divide 2 numbers that are inputted into the terminal

⭐⭐:

  1. Make a program that (tip: use the built in .split() method to get a list of things inputted)
  2. Edit the program so it can detect specific operators and perform the corresponding operation (e.g " + " adds, " * " multiplies, " / " divides)
  3. Edit the program so it can take more than 2 numbers to operate on

⭐⭐⭐⭐:

  1. Make it follow the correct order of operations (BIDMAS / PEMDAS) - Feel free to ask me about this as it can be quite complicated

Basic Pseudo-Operating-System:

⭐:

  1. Get the user to enter a username and display a welcome message (e.g. "Welcome, John")
  2. Create a simple command line interface with a help command that lists all available actions
    • 2.1. eval : solves a mathematical expression
    • 2.2. implement the basic UNIX commands (touch, ls, ...)

Still in progress...

About

Step by step guide for beginner python programmers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors