The exercise

Create a function 'double' that takes a number and returns it multiplied by 2.

Call it with 5 and print the result.
Expected output: 10

Starter code

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


# Call and print result / Вызовите и выведите результат
Solve in the playground

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