Skip to content
Back to AI Engineering

AI Engineering

Python values and expressions

Express small computations in Python and inspect their results.

With Zoonk, your plan starts at your level and fits your schedule.

Build my plan

Start free, no account needed.

Try a lesson · free · 3 min

Python values and expressions · lesson 1

Guess first. It doesn't count.

What number does this code display?

batch_size = 4batch_size = 8print(batch_size)

Your answer starts the 3-minute lesson. No sign-up needed.

Where this chapter sits in the course

Lessons

Chapter 1 of 25 · 6 short lessons · 22 min
  1. 1Variables and scalar types3 min
  2. 2Python scalar types4 min
  3. 3Arithmetic expressions3 min
  4. 4Strings and formatted text3 min
  5. 5Input and type conversion3 min
  6. 6Challenge: Python values and expressions6 min

What you'll learn

  • Use variables and types to represent data
  • Evaluate expressions and format results

Start today, at your level

A few quick questions, then your plan and your first lesson.

Build my plan

Start free, no account needed.