Skip to content

About

This repository contains all the code I will be using to teach my Python course for Summer 2020. This is an open-source project, so feel free to use any of the following resources to help teach Computer Science in your area.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Simple Python

This is the outline of the Simple Python Course I have developed from scratch during Summer 2020.

Special Thanks to the Malayalee Association of Central Florida (MACF) for giving me the opportunity to teach my course to all these fabulous kids! I hope they grow up to be inspirational Computer Scientists/Engineers in the future :)

Links to every recorded video lecture (1-hour each) and google colab is present under all the topic sections.

Getting Started

Follow the instructions on this video to setup Google Colab - https://youtu.be/Q2uKz9YmOP4

Lecture 1 : Introduction, Variables, and Print

  • Intro/ About the class
  • How to use Google Colab
  • Variables
  • What are variables and random names for variables? (=)
  • What are types of variables? (int, bool, etc) (== also)
  • Type checking
  • Print statements (“Hello World”)
  • Writing comments
  • Using Python as a calculator

Google Colab Link - https://colab.research.google.com/drive/1Eqvd7RDs81rpFadML-39QMJjbt2Mba2G?usp=sharing

Practice Problems - https://colab.research.google.com/drive/1RlMF5WD6YvUf7sbGs0XkpYyWvOLyT30b?usp=sharing

Video Link - https://youtu.be/ZJhPGwl1B_4

Lecture 2 - Naming Convention, Strings, and Booleans

  • Variable naming convention (camelCase and snake_case)
  • Strings
    • Reiterate String type
    • Convert to strings using str()
    • Concatenation (Combine Strings)
    • Sequence of String [0:17] or [::-1] and a[0]
  • Booleans
    • Reiterate Boolean type
    • AND/OR/NOT logic

Google Colab Link - https://colab.research.google.com/drive/1QxlD-fHcuxaE-ZZXkq4ESJB029N5Q5CM?usp=sharing

Practice Problems - https://colab.research.google.com/drive/14B7NaXdTWmfFhb6wRldo8nTdPMHNX7fZ?usp=sharing

Video Link - https://youtu.be/9xrIpxcOsTw

Lecture 3 - Input, Count operator, and If statements

  • input()
  • += operator
  • Reiterate booleans to show conditions
  • If statements
  • Examples of if statements

Google Colab Link - https://colab.research.google.com/drive/19vqboqBB9JW4-LU8SpByOU9Lbs5Ffz0r?usp=sharing

Practice Problems - https://colab.research.google.com/drive/1WLEpSIk2eDn9YORxIuBJKAIBtvQ0E50Q?usp=sharing

Video Link - https://youtu.be/g8epR1RW8lY

Lecture 4 - Lists, While Loops, and For Loops

  • Lists
  • What are loops?
  • While loop
  • For loop
  • Variable scoping

Google Colab Link - https://colab.research.google.com/drive/1vbnwD7zIsJ4cyv1aY37NixWQdQsDg7by?usp=sharing

Practice Problems - https://colab.research.google.com/drive/1eZ3Xzojdu8QYzLD3AfkImMgSf9xUMsHD?usp=sharing

Video Link - https://youtu.be/oclyr276JPA

Lecture 5 - Halfway Review

  • Madlib activity with if statements
  • Guessing game
  • Gauss addition activity
  • Odd/Even Number Checker

Google Colab Link - https://colab.research.google.com/drive/1RXPZUBiv4Ru21KCYao1OrvBBOsivkMdD?usp=sharing

Video Link - https://youtu.be/j0zYYFfdsOA

Lecture 6 - Functions

  • Function definition
  • Function calls
  • Built-in functions
  • Examples of functions

Google Colab Link - https://colab.research.google.com/drive/1jfiasGWmPZ69G6APqgn9jOZ_daONB-Uc?usp=sharing

Practice Problems - https://colab.research.google.com/drive/1fbE_v3kYROSSHDjPQEzmtSp263SRDNiI?usp=sharing

Video Link - https://youtu.be/NPxBzfb7PzU

Lecture 7 - Dictionary, Input Handling, Scopes

  • What are dictionaries?
  • Input Handling
  • Scopes

Google Colab Link - https://colab.research.google.com/drive/1d2b4wJfOChNbrPx3T_SOsO5T2qTazdsb?usp=sharing

Video Link - https://youtu.be/04OHBF2fEKk

Lecture 8 - Variable scopes, Recursion, Debugging

  • Variable scopes
  • Recursion
    • Factorial
    • Fibonacci Sequence
  • Debugging

Google Colab Link - https://colab.research.google.com/drive/1OG4gr7OZqGPPdD9GcG0NL6V9f2i1bGGC?usp=sharing

Video Link - https://youtu.be/hxUizRLl64Y

Lecture 9 - Graphing and Data Analysis

  • Graphing line/data to make bar graphs
  • Using Pandas libary to extract information from data

Google Colab Link - https://colab.research.google.com/drive/1hMYDCkPBubQ5eVbQJwItAlH4Q_HAbNpP?usp=sharing

Video Link - https://youtu.be/HeVzvrdNi3g

Lecture 10 - Final Class

  • Git/GitHub
  • IDE/Text Editors
  • Fun Python Projects
  • Content Review
  • Next Steps

Google Colab Link - https://colab.research.google.com/drive/19kaxRu22qNc0R6tvvFE1-Dby6VBM3JqQ?usp=sharing

Video Link - https://youtu.be/_RF8HtDgF4k

Sources

I would like to acknowledge the following sources as I have been inspired by some of these awesome works:

About

This repository contains all the code I will be using to teach my Python course for Summer 2020. This is an open-source project, so feel free to use any of the following resources to help teach Computer Science in your area.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages