Exemplo n.º 1
0
def nameValue(name):
	sums = 0
	for char in name:
		sums += charToValue(char, 'UPPERCASE')
	return sums
Exemplo n.º 2
0
def wordValue(word):
	sums = 0
	for char in word:
		sums += charToValue(char, 'UPPERCASE')
	return sums