Intro to Python 2023

Introductory to Python (2023)

Summer, 2023

This class will aim to provide an understanding of the core mechanics of programming through the Python programming language, and is open to students with none or little experience in programming. Students already familiar with other programming languages can still take this course, but may find it not very challenging. It will be relatively fast-paced, but all class material will be shared and students should feel free to review the slides or do some additional work on their Replit repositories outside of or after the class has ended.

This class will largely utilize Replit as an online IDE in which students will write their code. This will also allow teachers to see students’ code and provide feedback live. Time will be given during the first class to set up a Replit account and to join the class team, but students should feel free to do that ahead of time as well.

Day 1 Data  (07/10/2023)

    • Setting up Replit
    • Python Shell
    • Basic arithmetic operations
    • Data types and conversion
    • Inputting and outputting data

Day 2 Logic  (07/11/2023)

  • Boolean expressions
  • If, elif, and else statements
  • While loops
  • For loops

Day 3 Functions  (07/12/2023)

  • Organizing programs
  • Function arguments
  • Returning data
  • Global and local variables

Day 4 Containers (07/13/2023)

  • Types of containers
  • Reading and writing to lists
  • Iterating through lists
  • Dictionaries

Day 5 Modules (07/14/2023)

  • Importing modules
  • Random numbers
  • Final project