Keep your spark0 XP
CHAPTER 02 · VARIABLES, EXPRESSIONS, AND STATEMENTS

Keep going.You’re building something great.

A little curiosity. A little code. A new superpower.

0 / 100Chapter XP
0 / 18Lessons checked
0Lessons mastered
Add your name and UNT ID to begin earning XP.
CODING MISSION 01 / 08

Values and their types

Easy10 XP
LET’S MAKE SOMETHING WORK

Assign whole, fraction, and text the values 17, 3.2, and the string "17". Use type() to store their types in whole_type, fraction_type, and text_type.

Five independent checks are worth 2 XP each.

From PY4E: Values and typesOpen chapter
Every retry is part of learning.
c01.pyPython 3
Opening your workspace…
Ready when you are
Code CoachA LITTLE GUIDANCE

Stuck after a check? I’ll help you spot the next small fix.

Failed code and check details are sent to Groq for help. Keep personal details out of your code.

OutputAwaiting your first run
Your output will appear here.
PUT YOUR KNOW-HOW TO THE TEST

A little knowledge check.

10 quick questions · 20 XP to discover

Based on Charles R. Severance’s Python for Everybody, Variables, expressions, and statements. ZHUDDLE is an independent practice project.

A new student's turn?

Download the current student's work first. Starting again clears this browser's saved name, ID, code, and scores across all seven chapters. Download each chapter's work before continuing.

LEARN PYTHON WITH ZHUDDLE

A beginner Python learning platform built around practice.

Learn Python in your browser with seven chapters, 56 coding missions, and 70 multiple-choice questions. Run real Python, learn from immediate feedback, and revisit exercises at your own pace.

How does ZHUDDLE help you learn?

Each chapter combines eight coding missions with ten knowledge checks. Retry your code, review the feedback, and build up to 100 practice XP. Download a notebook to keep learning offline, or finish all checks to unlock a chapter completion certificate.

What do you need to start?

No Python installation is needed for the browser exercises. Add your name and UNT ID to save practice results on this device. The first code run downloads the Python interpreter and needs an internet connection. Progress stays in this browser; certificates record practice completion and are not official UNT credentials.

Lessons build on Charles R. Severance’s Python for Everybody, with original ZHUDDLE practice questions and feedback. Begin with variables if you are new to Python, then follow the chapter order.