Learn to Program 13

Learn to ProgramIn part 13 of my Learn to Program tutorial we’ll be covering some very powerful Python tools. We’ll look at Iterables, List Comprehensions, Generator Functions and Generator Expressions. List Comprehensions have the power of Map and Filter all in one place. Also there are a bunch of problems for us to solve.

If you missed the previous videos they start here. A cheat sheet as well as a transcript from the video follow the video below. Continue reading Learn to Program 13

Learn to Program 12

Learn to ProgramThis tutorial we be a ton of fun because we’ll be exploring how to pass and return functions in other functions. We’ll dynamically create functions. Then we’ll cover Lambdas, Map, Filter, Reduce and Function Annotations. Of course, there will be a bunch of problems for you solve along with the solutions.

All of the code and a transcript for the video follows the video below to help you learn. Continue reading Learn to Program 12

Learn to Program 11

Learn to ProgramIn this part of my Learn to Program series I’ll cover many questions I received about Static, Custom Modules, From, Exception Handling, Custom Exceptions, and much more. We will also have some problems to solve to improve our problem solving ability. New videos every Saturday and Wednesday morning!

If you missed any of the previous videos, the series starts here. All of the heavily commented code and a transcript for the video follows the video below. Continue reading Learn to Program 11

Learn to Program 8

Learn to ProgramWelcome to part 8 of my Learn to Program series. This time we’ll cover how to read and write files. I’ll answer a question I received about recursive functions. We’ll investigate what a Tuple is. And, of course we’ll work our way through problems so we can get better at solving programming problems.

All of the code follows the video below. It is heavily commented and is meant to be used to aid in the learning process. Continue reading Learn to Program 8

Learn to Program 7

Learn to ProgramIn this part of the Learn to Program tutorial series we will look at Dictionaries and one of the most confusing topics in programming being Recursive Functions. A Recursive Function is a function that calls for itself to execute. We’ll generate Factorials and Fibonacci numbers with recursive functions to help make them make more sense.

All of the commented code follows the video below. Continue reading Learn to Program 7

Learn to Program 6

Learn to ProgramIn this part of my Learn to Program series we cover one of the most important topics which is lists.We’ll look at numerous list functions, how to sort lists with the Bubble Sort, List Comprehensions, simple Debugging and much more.

This tutorial series is all about learning how to solve problems, and those problems get more complex with each tutorial. Make sure you watch the first part before moving on. The code follows the video below. Continue reading Learn to Program 6

Learn to Program 5

Learn to ProgramIn this part of my Learn to Program series I’ll focus on functions. We’ll see what local and global variables are. We’ll solve algebraic equations. We’ll learn how to pass and return an unknown number of values into and out of functions. We’ll generate prime numbers. And, we’ll see how to create small functions that make our code easier to understand.

All of the code follows the video below. Continue reading Learn to Program 5