-
Notifications
You must be signed in to change notification settings - Fork 0
Programming Concepts
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.
How to store data in Python and dynamically change the type of the variable during runtime.
How to set up branches in your program to control path of program execution
How to store a collection of variables to operate on as a set
How to iterate over a collection to change the state of a list
How to write reusable code that can be adapted depending on the arguments passed to it
How to construct a collection of attributes and methods that can be used to represent real world objects
Overview of the myriad tools shipped with Python that can be used to quickly and cleanly perform various operations