The exercise

Create a function 'add' that takes two numbers and returns their sum.

Call: add(10, 20) and print the result.
Expected output: 30

Starter code

# Define add function / Определите функцию add


# Call and print / Вызовите и выведите
Solve in the playground

Write the code in the browser and run it — no installation needed.