Skip to main content

Practice workspace · Untimed

Try a coding test

Edit Python, run a sample, and submit for a practice score.

Back to KodeShala
  1. Read & edit
  2. Run a sample
  3. Submit your answer
  4. Complete

Challenge 1 of 2

Add two numbers

Return the sum of the two integers.

Sample input
add(2, 3)
Expected output
5
Show a hint

Replace return 0 with return a + b. Keep the indentation before return.

This is a demo. Your code and practice score stay in this tab.