0Pricing
Coding for Kids · Lesson

Showing the Answer

Print the result.

Show the Answer! 📢

Hi presenter! 🎤 A calculator isn't finished until it SHOWS the answer in a friendly way! 📢

Today we make our results look clear, fun, and easy to read!

answer = 42
print('The answer is', answer)

Save the Answer First 📦

It's neat to save the result in a box called answer first, then print it. 📦 This keeps our code tidy!

a = 7
b = 3
answer = a + b
print('Result:', answer)

All lessons in this course

  1. Getting Two Numbers
  2. Doing the Math
  3. Choosing an Operation
  4. Showing the Answer
← Back to Coding for Kids