Python Variables for College Students
Master Python variables: data types, operations, and debugging for real-world problem-solving.
...
Share
Understanding Python Variables and Data Types
Unit 1: Introduction to Variables
What are Variables?
Declaring Variables
Variable Naming Rules
Reserved Keywords
Best Practices
Unit 2: Python Data Types
Intro to Data Types
Integer Data Type
Float Data Type
String Data Type
Boolean Data Type
Unit 3: Variable Scope
Scope: Intro
Local Scope
Global Scope
LEGB Rule
Modifying Globals
Performing Operations and Type Casting with Variables
Unit 1: Arithmetic Operators
Addition & Subtraction
Multiplication & Division
Modulus Operator
Exponentiation
Order of Operations
Unit 2: Comparison and Logical Operators
Equality & Inequality
Greater/Less Than
The 'and' Operator
The 'or' Operator
The 'not' Operator
Unit 3: Type Casting
Intro to Type Casting
Casting to Integer
Casting to Float
Casting to String
Casting to Boolean
Mutable vs. Immutable Data Types and Data Structures
Unit 1: Understanding Mutability
Mutable vs. Immutable
Immutability in Action
Mutability in Action
Mutability & Assignment
Copying Data Structures
Unit 2: Working with Lists and Tuples
List Basics
List Slicing
Tuple Basics
List vs. Tuple
List Comprehension
Unit 3: Working with Dictionaries and Sets
Dictionary Basics
Dictionary Methods
Set Basics
Set Theory
When to Use Sets
Variables in Control Flow and Debugging
Unit 1: Variables in Conditional Statements
If Statement Basics
If-Else Dynamics
Elif: Chain Reactions
Nested If Statements
Logical Operators in If
Unit 2: Variables in Loops
For Loop Basics
While Loop Basics
Loop Control: Break
Loop Control: Continue
For-Else Combination
Unit 3: Debugging Variable-Related Errors
NameError Detective
TypeError Troubleshooter
Scope Resolution
Value Inspection
Debugging Tools