You've just recently been hired to calculate scores for a  Dart Board game!

Scoring specifications:

* 0 points - radius above 10
* 5 points - radius between 5 and 10 inclusive
* 10 points - radius less than 5

**If all radii are less than 5, award 100 BONUS POINTS!**

Write a function that accepts an array of radii (can be integers and/or floats), and returns a total score using the above specification.

An empty array should return 0.

## Examples:

Difficulty: introductory

Starter code:

def score_throws(radii):
	

Solutions:
def score_throws(radiuses):
    score = 0
    for r in radiuses:
        if r < 5:
            score += 10
        elif 5 <= r <= 10:
            score += 5
    if radiuses and max(radiuses) < 5:
        score += 100
    return score

def score_throws(radiuses):
    scores = [5 * ((v<5) + (v<=10)) for v in radiuses]
    return sum(scores) + 100 * (len(set(scores)) == 1 and scores[0] == 10)

def score_throws(radii):    
    score = sum(10 if r < 5 else 5 if r <= 10 else 0 for r in radii) 
    return score + 100 if score and len(radii) * 10 == score else score

def score_throws(radii):
    return 5*sum((r<=10)+(r<5) for r in radii)+(100 if len(radii) and all(r<5 for r in radii) else 0)

def score_throws(radii):
    if not radii: return 0
    sum=0
    for i in radii:
        if i>=5 and i<=10:
            sum+=5
        elif i<5:
            sum+=10
    return sum+100 if max(radii)<5 else sum

def score_throws(radii):
    score = sum(0 if r > 10 else 5 if r >= 5 else 10 for r in radii)
    return score + 100 * (score and len(radii) * 10 == score)

def score_throws(radiuses):
    return sum(
        10 if r < 5 else 5 if r <= 10 else 0
        for r in radiuses
    ) + (bool(radiuses) and all(r < 5 for r in radiuses)) * 100

def score_throws(r):
    if not r:
        return 0
    if all(i < 5 for i in r):
        return len(r) * 10 + 100
    return len([i for i in r if i <= 10 and i >= 5]) * 5 + len([i for i in r if i < 5]) * 10

def score_throws(radii):
  score = sum(0 if r > 10 else 5 if r >= 5 else 10 for r in radii)
  if radii and all(r < 5 for r in radii): score += 100
  return score

def score_throws(radii):
    result = 0
    all_less_5 = True
    for r in radii:
        if r > 10:
            all_less_5 = False
        elif r < 5:
            result += 10
        else:
            result += 5
            all_less_5 = False
    if radii and all_less_5:
        result += 100
    return result