Python Challenges

Practice coding with guided feedback

Python Challenges

Simple Addition Function

Write a function that takes two numbers and returns their sum.

Test Cases:

add(2, 3) == 5
add(-1, 1) == 0
add(0, 0) == 0

Code Editor

Need help? Click me!