← Back to the lesson: Functions
Calculator Function
The exercise
Create a function 'multiply' that takes two numbers and returns their product.
Test it with: multiply(6, 7)
Expected output: 42
Starter code
# Define multiply function / Определите функцию multiply
# Test with 6 and 7 / Протестируйте с 6 и 7
Write the code in the browser and run it — no installation needed.