Create a calculator in the Python programming language
Sure, I can help you create a simple calculator in Python. Here's the code:

```python
# Define a function to perform the calculation
def calculator():
    # Take input from the user
    num1 = float(input(Enter the first number: ))
    num2 = float(input(Enter the second number: ))
    operator = input(Enter the operation (+, -, *, /): )

    # Perform the calculation based on the operator
    if operator == +:
        result = num1 + num2
    elif operator == -:
        result = num1 - num2
    elif operator == *:
        result = num1 * num2
    elif operator == /:
        result = num1 / num2
    else:
        print(Invalid operator entered)
        return

    # Print the result
    print(Result: , result)

# Call the calculator function
calculator()
```

This code defines a function called calculator() that takes input from the user for two numbers and the operation to be performed. It then performs the calculation based on the chosen operation and prints the result.

To use the calculator, simply run the Python script and follow the prompts to enter the numbers and operation. The result will be printed to the console.