Skip to content

Programming Concepts

Nicholas DiBari edited this page Jan 18, 2018 · 10 revisions

This page will cover the various programming principles in each tutorial a bit more in depth. This is aimed for people with no experience in programming at all, and are learning Python as their first programming language. If you have experience with some basic programming syntax (loops, variables, functions, etc.) this might be a review for you, but if you need a quick reference for Python syntax you can refer to this guide.

All code examples shown are from the Python shell. To run the shell on your computer, type python in the command line for Linux & Max users. Windows users can load the shell by running the Python IDLE executable.

1. Variables

How to store data in Python and dynamically change the type of the variable during runtime.

Topic Guide

2. Conditionals

How to set up branches in your program to control path of program execution

Topic Guide

3. Lists

How to store a collection of variables to operate on as a set

Topic Guide

4. Loops

How to iterate over a collection to change the state of a list

Topic Guide

5. Functions

How to write reusable code that can be adapted depending on the arguments passed to it

Topic Guide

6. Objects & Modules

How to construct a collection of attributes and methods that can be used to represent real world objects

Topic Guide

7. Python Built-Ins

Overview of the myriad tools shipped with Python that can be used to quickly and cleanly perform various operations

Topic Guide

Clone this wiki locally