Welcome to Programming Foundations in Python, a 10-topic course in the basics of coding with the popular programming language Python.
Obviously you can dip in and out of the videos, using the lists of contents below as an index, but if you want to take the whole course, I recommend watching one topic a week (or one a day if you are in a hurry) and then practising with the examples to build your skills up.
Please feel free to leave comments on the videos (questions or constructive criticism) and I will reply to you as soon as I get the chance. I also recommend subscribing to my YouTube channel for addition courses that I will be releasing.
Video 03-1 - Introduction & motivation: Objectives. Motivation.
Video 03-2 - Conditionals: if statement: Conditionals: the if statement. Using if statements. Example 1 - Calculator (if). Flow of control. Conditional flow of control.
Video 03-3 - Conditionals: else statement: Conditionals: the else statement. Using else statements. Defensive programming.
Video 03-4 - Conditionals: elif statement, combined, indentation: Conditionals: the elif statement. Example 3 - Calculator (if+elif). Example 4 - Calculator (if+elif+elif). Defensive programming (2). Conditionals combined. Example 5 Calculator (if+elif+else). Indentation.
Video 03-5 - Concessions & booleans: Concessions. Example 6 - Concessions. The "+=" operator. Booleans. Example 7 - Concessions (booleans).
Video 03-6 - Concessions: in operator, or operator: Example 8 - Concessions (in operator). Comparison operators. Example 9 - Concessions (elif). Examples 10 & 11 - Concessions (or operator).
Video 03-7 - Concessions: nested ifs, and operator, not operator: Example 12 - Concessions (nested ifs). Example 13 - Concessions (and operator). Example 14 - Concessions (or operators). Example 15 - Concessions (booleans). The not operator. Example 16 - Concessions (not operator).
Video 03-8 - Choices, validation & summary: Choices, choices. Validation. Example 17 - Random Values (validation). Summary.
Video 04-1 - Introduction & motivation: Objectives. Motivation. Writing functions. Motivating Example - Turtle squares.
Video 04-2 - Calculator output example: Example 2 - Calculator. Declaring functions. Example 3 - Calculator output().
Video 04-3 - General principles: Flow of control. File structure. Execution. Quick check 1.
Video 04-4 - Arguments & Parameters: Arguments. Parameters. Example 4 - Calculator - generic output().
Video 04-5 - Calculator input examples: Example 5 - input() functions. Invoking a function which returns a value. output() vs input(). Duplication. Example 6 - input_int().
Video 04-6 - More Calculator examples: Example 7 - calculate(). Quick check 2. Quick check 3. Using a function as a parameter. Example 8 - Calculator input_and_convert().
Video 04-7 - Common problems: Problems with functions. Syntax functions. Example 9 - parameter naming. Scope. Example 10 - scope bug. Example 11 - parameters bug. Example 12 - arguments bug. Example 13 - arguments bug.
Video 04-8 - Defaults & summary: Defaults. Example 14 - defaults. Example 15 - return bug. Summary.