LET'S LEARN PYTHON







COURSE INTRODUCTION

UNITS

  • Unit 1 - The Basics:

    1. Comments

    2. Printing

    3. Variables and their types

    4. Math & Randoms

    5. User Input (console)


  • Unit 2 - Decision Making:

    1. Boolean variables/statements

    2. Conditional and Logical operators

    3. If/Elif/Else statements

    4. Short circuit evaluation

    5. For & While Loops

    6. Turtle Graphics basics

    7. Nested Loops


  • Unit 3 - Functions:

    1. No parameter or return functions

    2. Functions that take parameters

    3. Functions that return values

    4. Try/Except statements

    5. Global variables vs call/return structures




  • Unit 4 - Strings:

    1. String indexing

    2. Substrings

    3. Immutability

    4. Looping through strings

    5. String functions


  • Unit 5 - Data Structures:

    1. Tuples and index notation

    2. Lists and list functions

    3. 2D lists, unpacking/packing lists

    4. Dictionaries, keys, and 'in'


  • Unit 6 - End of course Project

    1. Ideas will be presented for an end of course project

    2. Be sure to share the results of your work with me!

UNIT 1 - TOPIC 1

  • Setting things up

    • Installing Notepad++

    • Installing Python 3

    • Accessing Windows Powershell

  • Writing our first program

  • Coding along without windows

CHALLENGE

No Challenge

UNIT 1 - TOPIC 2

  • Print statements

  • Variables

  • Concatenation of Strings

CHALLENGE

Write a hard-coded MadLibs game

UNIT 1 - TOPIC 3

  • Topic 2 Challenge solution

  • Console programs

  • Math in Python

  • Randoms

  • User input

CHALLENGE

Modify your MadLibs game to incorporate user input instead of hard coding the chosen words.

UNIT 1 - Project

  • Topic 3 Challenge Solution

  • End of Unit 1 Project Description:

    • Dice roller

UNIT 2 - Topic 1

  • Boolean variables

  • Boolean statements with logical and conditional operators

  • No challenge!

UNIT 2 - Topic 2

  • If/Elif/Else structure for decision making

  • Short-circuit evaluation

  • Challenge:

    • Build a quadratic formula root solver

UNIT 2 - Topic 3

  • For loops using the range function

    • Covers the 1, 2, and 3 parameter versions of the range function.

  • Challenge:

    • Writing a program to print out the terms in an arithmetic and/or geometric sequence. As an extension it should also calculate the sum of the n terms and print the sum as well.

UNIT 2 - Topic 4

  • While loops

  • Break and Continue statements

  • Challenge:

    • Writing a program to print out a user choice or multiple user choices that allows the user to make choices and eventually make the choice to end the program. It should otherwise loop back to the original choice. Watch video for an example.

UNIT 2 - Project

  • Creating a user menu driven calculator

UNIT 3 - Topic 1

  • Functions that do not take parameters and do not return values.

  • Challenge: A simple turtle graphics program using functions

UNIT 3 - Topic 2

  • Functions that take parameters but do not return values.

  • Challenge: A tricky user menu driven drawing program

UNIT 3 - Topic 3

  • Functions that return values

  • Challenge: A little re-do of the old age check program we did with if/elif structures early on in the course.

UNIT 3 - Topic 4

  • Try/Except Statements

  • Global variables

  • NO CHALLENGE

UNIT 3 - End of unit project

  • Creating a Turtle graphics drawing program using a console user menu.

UNIT 4 - Topic 1

  • String indexing, substrings, and immutability

  • Challenge: A simple substring printer

UNIT 4 - Topic 2

  • Looping through Strings - 2 different approaches

  • Challenge: A simple vertical printer that prints a user inputted string vertically.

UNIT 4 - Topic 3

  • String functions

  • Challenge: A palindrome checker using word reversal

UNIT 4 - Project

  • Create a palindrome checker that does NOT use string reversal

UNIT 5 - Topic 1

  • Data Structures Description and Tuples

  • Challenge: Use tuples to create two points and calculate the slope of the line connecting them.

UNIT 5 - Topic 2

  • Lists!

  • Challenge: MadLibs with lists

UNIT 5 - Topic 3

  • 2 Dimensional Lists!

  • Challenge: Maze Game

UNIT 5 - Topic 4

  • Dictionaries!

  • No challenge for this lesson

UNIT 5 PROJECT

  • Choose your own adventure game!

  • Here is a link to the game played in the video

FINAL COURSE PROJECT