I have this function that is going to calculate the hypotenuse from 2 numbers

```
func hypotenusa<T>(nr1: T, nr2: T) -> T {
    return sqrt( pow(nr1, 2) + pow(nr2, 2) )
}

// v Simpler situation v

func addition<T>(nr1: T, nr2: T) -> T {
    return nr1 + nr2
}

```

I want to use generics so I don't have to make 3 copies of this which uses Int, Float, Double separately

But this isn't working, I think generics is really difficult to work with, please help me :)