The 26 letters of the English alphabets are randomly divided into 5 groups of 5 letters with the remaining letter being ignored.  Each of the group is assigned a score of more than 0.  The ignored letter always has a score of 0.

With this kata, write a function ```nameScore(name)``` to work out the score of a name that is passed to the function.

The output should be returned as an object:

Only letters have a score. Spaces do not.

You can safely assume that ```name``` does not contain any punctuations or symbols.  There will also be no ```empty string``` or ```null``` value.

A static ```alpha``` object for testing has been preloaded  for your convenience in the following format:

Note that the ```alpha``` object will be randomly generated each time you run the test.

#Example

In accordance to the above ```alpha``` object, the name ```Mary Jane``` will have a name score of ```20``` => M=3 + a=1 + r=4 + y=5 + J=2 + a=1 + n=3 + e=1

Difficulty: introductory

Starter code:

def name_score(name):
	

Solutions:
def name_score(name):
    scores = {k: v for keys, v in alpha.iteritems() for k in keys}
    return {name: sum(scores.get(a, 0) for a in name.upper())}

def name_score(name):
    return {name: sum(alpha[key] for c in name for key in alpha if c.upper() in key)}

def name_score(name):
    up = name.upper()
    return {name: sum(up.count(c) * v for k, v in alpha.items() for c in k)}

ALPHA = {c:v for s,v in alpha.items() for c in s}

def name_score(name):
    return {name: sum( ALPHA.get(c,0) for c in name.upper() )}

def name_score(name):
    score = sum(alpha[key] for key in alpha.keys() for x in name if x.upper() in key)
    return {name: score}

def name_score(name):
    answer=0
    for character in name:
        character=character.upper()
        for key,value in alpha.items():
            if character in key:
                answer+=value
                break
    return {name:answer}

def name_score(name):
    sum = 0
    for letter in name:
        k = [key for key in alpha if letter.upper() in key]
        sum += alpha[k[0]] if k!=[] else 0
    return {name: sum}

def name_score(name):
    score = lambda x: sum(alpha[a] if x in a else 0 for a in alpha)
    return {name : sum(score(n) for n in name.upper())}

def name_score(name):
    return {name: sum(alpha[k] for c in name.upper() for k in alpha if c in k)}

def name_score(name):
    score = 0
    for c in name:
        for k, v in alpha.items():
            if c.upper() in k:
                score += v
                break
    return {name:score}