Guide Python Beginner

Operators: Chapter Practice

Apply operators with a mini lab and knowledge check.

1 min read

Mini lab

Compute how many full batches of 10 fit into 23 records and how many remain.

Expected output: 2 and then 3

HintUse the chapter examples to choose the operation, then run your version before opening the solution.
Show solution
print(23 // 10)
print(23 % 10)

Knowledge check

How do / and // differ?

Check your answer/ performs true division; // performs floor division.

Finish the chapter

  • Explain each operation without reading the lesson.
  • Change the sample input and predict the output before running it.
  • Revisit the chapter if the result differs from your prediction.

Back to this chapter · Choose the next chapter

Add More Questions to This Guide

Know a question that should be here? Share it and help the community!

Open Google Form