You are given an array of unique numbers. The numbers represent points. The higher the number the higher the points.  
In the array [1,3,2] 3 is the highest point value so it gets 1st place. 2 is the second highest so it gets second place. 1 is the 3rd highest so it gets 3rd place. 

Your task is to return an array giving each number its rank in the array.  
input // [1,3,2] 
output // [3,1,2]

```rankings([1,2,3,4,5]) // [5,4,3,2,1]``` 
```rankings([3,4,1,2,5])//  [3,2,5,4,1]``` 
```rankings([10,20,40,50,30]) //  [5, 4, 2, 1, 3]``` 
```rankings([1, 10]) //   [2, 1]``` 
```rankings([22, 33, 18, 9, 110, 4, 1, 88, 6, 50]) //```
```[5, 4, 6, 7, 1, 9, 10, 2, 8, 3]```

Difficulty: introductory

Starter code:

def rankings(arr):
	

Solutions:
def rankings(arr):
    dct = {v:i for i,v in enumerate(sorted(arr, reverse=True),1)}
    return [dct[v] for v in arr]

def rankings(a):
    s = sorted(a)[::-1]
    return [s.index(e) + 1 for e in a]

def rankings(lst):
    std = sorted(lst, reverse=True)
    return [std.index(n) + 1 for n in lst]

def rankings(arr):
    return[sorted(arr)[::-1].index(v)+1 for v in arr]

def rankings(arr):
    ranks = {x: i for i, x in enumerate(sorted(arr, reverse=True), 1)}
    return [ranks[x] for x in arr]

rankings = lambda xs: list(map(dict(map(reversed, enumerate(sorted(xs, reverse=True), 1))).__getitem__, xs))

rankings=lambda a:sorted(range(1,len(a)+1),key=([0]+sorted(range(len(a)),key=a.__getitem__,reverse=1)).__getitem__)

def rankings(arr):
    return [sum(j > i for j in arr)+1 for i in arr]


def rankings(arr):
    d = dict(list(zip(sorted(arr, reverse=True), list(range(1, len(arr)+1)))))
    return [d[a] for a in arr]