Using python write a program that does the following:

•Create the logic for a program that calculates and displays the amount of money you would have if you invested $3000 at 2.65 percent interest for one year.
•Create a separate method to do the calculation and display the result.
•Make sure you pass at least one variable into the method and return one value

Sure! Here's a Python program that calculates the amount of money you would have if you invested $3000 at 2.65 percent interest for one year:

```python
def calculate_investment(principal, interest_rate):
amount = principal + (principal * interest_rate / 100)
return amount

principal = 3000
interest_rate = 2.65

investment_amount = calculate_investment(principal, interest_rate)
print("The amount of money you would have after one year is $", investment_amount)
```

Explanation:
1. We define a function called `calculate_investment` that takes two parameters - `principal` (the initial investment amount) and `interest_rate` (the interest rate).
2. Inside the function, we calculate the investment amount by adding the interest to the principal using the formula `amount = principal + (principal * interest_rate / 100)`.
3. We return the calculated amount.
4. In the main program, we assign the initial principal value of $3000 to the `principal` variable, and the interest rate of 2.65% to the `interest_rate` variable.
5. We call the `calculate_investment` function with the given principal and interest rate, and store the returned value in the `investment_amount` variable.
6. Finally, we print the result by concatenating the investment_amount with the string "The amount of money you would have after one year is $" using the `print` function.

When you run this program, it will display the amount of money you would have after one year based on the given principal and interest rate.