Implement a Python function that performs basic arithmetic operations: addition, subtraction, multiplication, and division. The function should take three parameters: two numbers (operands) and an operation (as a string). Based on the operation specified, the function should return the result of applying the operation to the operands.
Requirements:
Create a function named calculate in a file located at /app/solution.py.