Welcome to Understandly

Learn core concepts after each chapter so you never fall behind.

Start Learning

Subjects

Computer Science

Kick off with Python basics. Variables first.

Open

Computer Science

Available now: Python Basics — Variables.

Quick Quiz: Variables

  1. What does a variable do?

  2. What does this print? x = 2; x = x + 3; print(x)

  3. Which type is True?

  4. What is the difference between a string and an int?

  5. What will this code do? name = "Alice"; print("Hello, " + name)

Mini Project: Simple Budget Helper

Practice variables by tracking a few expenses and a budget.

  1. Create variables: budget, rent, food, transport.
  2. Compute total_expenses and remaining = budget - total_expenses.
  3. Print a summary like: Remaining budget: $X.
Try it in your browser (Python)

Paste Python below and run it. Output appears in the terminal box.