Hey there! π
Welcome to the Introduction to Python Programming course! These are the 5 Python lessons I created at the end of 2020 for three groups of audacious friends.
If you'd like to start programming, this is the right place. You don't need to install anythingβthe code runs on Google Colab, which is a cloud platform provided by Google. The files you see here are IPython Notebooks (.ipynb files), which are a mix of text notes and code, making it easy to follow along and interact with the code.
Use the lesson links below to open each notebook in Colab.
For each lesson, the main file is:
.ipynbfiles: These are interactive notebooks that you can open in Google Colab. They contain both explanations and executable code cells, allowing you to read the notes and run the code directly in your browser.
Here's a brief overview of what each lesson covers:
- Files:
1_Intro.ipynb - Description:
- Learn about variables, data types, and basic operations.
- Understand how to perform input and output in Python.
- Get familiar with writing and running Python scripts.
- Files:
2_Conditions.ipynb - Description:
- Explore conditional statements (
if,elif,else). - Learn about comparison and logical operators.
- Practice making decisions in your code based on conditions.
- Explore conditional statements (
- Files:
3_Loops.ipynb - Description:
- Dive into loops (
forandwhile) and iteration. - Understand how to repeat actions efficiently.
- Learn about loop control statements like
breakandcontinue.
- Dive into loops (
- Files:
4_Lists.ipynb - Description:
- Get to know lists and how to manipulate them.
- Learn about list operations, slicing, and methods.
- Understand how to work with collections of data.
- Files:
5_Extra.ipynb - Description:
- Apply what you've learned in practical exercises.
- Explore additional topics like functions and basic object-oriented programming.
- See how the concepts come together in real-world scenarios.
Happy coding! π
Hey there! π
Welcome to the Introduction to SQL course! This course is designed to help you get started with SQL, the language used to interact with relational databases.
Just like the Python course, you don't need to install anything. The code runs on Google Colab, which provides a cloud-based environment for running SQL queries and managing data.
For each lesson, the main file is the notebook (.ipynb). The course also includes one shared database file:
-
.ipynbfiles: These are interactive notebooks that can be opened in Google Colab or compatible environments. They contain both explanations and SQL code cells, allowing you to read the notes and run the queries directly. -
my_database.db: This is the sample SQLite database used throughout the lessons.
Here's a brief overview of what each lesson covers:
- Files:
0_Tables.ipynb - Description:
- Learn how to create and populate tables.
- Understand data types and table schemas.
- Set up the initial data we'll use throughout the course.
- Files:
1_Select.ipynb - Description:
- Master the basic
SELECTstatement to retrieve data. - Learn how to filter data using
WHERE. - Explore sorting results with
ORDER BYand limiting output withLIMIT. - Use
DISTINCTto find unique values.
- Master the basic
- Files:
2_Join.ipynb - Description:
- Understand how to combine data from multiple tables using
JOINs. - Learn about different types of joins:
INNER JOIN,LEFT JOIN, etc. - Practice writing queries that involve complex table relationships.
- Understand how to combine data from multiple tables using
- Files:
3_Group.ipynb - Description:
- Dive into aggregate functions like
SUM,AVG,MIN,MAX, andCOUNT. - Learn how to group data using
GROUP BY. - Understand how to filter grouped data with
HAVING. - Apply aggregate functions to gain insights from data.
- Dive into aggregate functions like
Happy querying! π