sum

sum (float score1, float score2,..)receives n scores (output of n score functions) and returns their sum

Input

  • score (float) - a set of scores

Output

  • score (float) - the sum of the score list

Example

score1 = rarity_max("city")
score2 = rarity_max("Country")
score3 = rarity_max("Continent")
score4 = rarity_max("Street")
score_sum = sum(score1, score2, score3, score4)

Where -

  • score1, score2, score3, score4 are the outputs of a score functions.

  • score_sum is the sum of score1, score2, score3...

Last updated