Solve the programming task below in a Python markdown code block.
Write a method that takes one argument as name and then greets that name, capitalized and ends with an exclamation point.

Example:

```
"riley" --> "Hello Riley!"
"JACK"  --> "Hello Jack!"
```
Also feel free to reuse/extend the following starter code:
```python
def greet(name):
```