Learn Without Walls
← Back to Course Home

Module 2: Variables & Data Types

Understand how Python stores and works with different kinds of data

4 Lessons 15 Practice Problems 12-Question Quiz

Learning Objectives

By the end of this module, you will be able to:

Lessons

1

Variables and Assignment

Learn how to create variables, follow naming rules, reassign values, and choose meaningful names that make your code readable.

~30 minutes
2

Numbers: Integers and Floats

Explore Python's number types, arithmetic operators, order of operations, integer division, and the modulo operator.

~35 minutes
3

Strings Basics

Discover how to create and work with text in Python using strings, escape characters, and useful string operations like len().

~35 minutes
4

Booleans and Type Conversion

Understand True/False values, check data types with type(), and convert between types using int(), str(), float(), and bool().

~30 minutes

After the Lessons

Practice Problems

15 hands-on problems to reinforce what you learned

Start Practice

Module Quiz

12 questions to test your understanding

Take Quiz

Study Guide

Review key concepts and prepare for assessments

Study Guide

Quick Reference

Printable cheat sheet for variables and data types

Quick Ref