Getting Started With Python
Posted on Nov 12th, 2021
This week’s topics
- Using VS Code to write Python
- Strings
- Numbers
- Data Types
- Conditionals
- Collections
- Loops
🔖 Assignments for the Upcoming Week
- Hello World (due Tuesday, 11/16/21)
-
Watch - MS Introducing Python - MS Configuring VS Code for Python - MS Using Print - MS Hello World
-
Complete items 1-5 in Python Problem Set 1 - Click the link for the assignment, which will create a personal fork of the assignment for you.
- In your terminal, go to the repository where you keep your assignment.
- Rungit clone <url from your personal repo created in 1>
- When you have written your code, do
-git add .
-git commit
-git push
to submit, and I will have access to it on GitHub.
-
- Comments and Strings (due Wednesday, 11/17/21)
- Watch - MS Comments - MS Strings - MS Demo: Strings - MS Formatting Strings - MS Demo: Formatting Strings
- Complete items 6-11 in Python Problem Set 1
- Conditionals (due Thursday, 11/18/21)
- Watch - MS Conditional Logic - MS Demo: Conditional Logic - MS Multiple Conditions - MS Demo: Multiple Conditions
- Complete items 1-4 in Problem Set 2 Same instructions as for Problem Set 1
- Collections & Loops (due Friday, 11/19/21)
- Watch - MS Collections - MS Demo: Collections - MS Loops - MS Demo Loops
- Complete items 5-7 in Problem Set 2 Same instructions as for Problem Set 1
🦉 Notes
🐍📒 Python Notebooks 🐍📒
- Make a directory to hold your Python Notebooks
- Clone the repository here into that directory:
*
git clone <url of notebooks> . - These notebooks are a written resource for the Python concepts we will learn, like an interactive textbook.
- From inside the directory in the terminal, run
jupyter notebookto open the notebooks.