Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Stream 2: Variables and Data Types

Status: Complete

Date: January 12, 2026

Video: Watch now!

📋 Overview

Learn the foundation of Python programming: how to store data in variables and work with different types of data. This is where real coding begins! You'll write programs that store information, do calculations, and combine different types of data.

🎯 What You'll Learn

  • What variables are and why we need them
  • The four basic Python data types (strings, integers, floats, booleans)
  • How to check what type your data is
  • Converting between different data types
  • Using AI to understand and fix type errors
  • Best practices for naming variables

✅ Prerequisites

📚 Topics Covered

Part 1: Variables

  • What is a variable?
  • Creating variables with =
  • Naming rules and conventions
  • Updating variable values
  • Using variables in calculations

Part 2: Data Types

  • Strings (str)
  • Integers (int)
  • Floats (float)
  • Booleans (bool)

Part 3: Working with Types

  • Using type() to check data types
  • Type conversion: int(), float(), str(), bool()
  • Why types matter
  • Common type errors and how to fix them

Part 4: AI-Assisted Learning Example

  • Asking AI about type errors
  • Asking AI about naming best practices

Part 5: Common Mistakes & Fixes

  • Quotes around numbers
  • Forgetting quotes on strings
  • Type mixing
  • Using reserved words

💻 Code Examples

All code from this stream is in the code/ folder:

📖 Additional Resources